fix to avoid an error when removing an authority
authortipaul <tipaul>
Mon, 2 Jul 2007 09:49:40 +0000 (09:49 +0000)
committertipaul <tipaul>
Mon, 2 Jul 2007 09:49:40 +0000 (09:49 +0000)
authorities/blinddetail-biblio-search.pl

index a972488..a5165af 100755 (executable)
@@ -61,7 +61,7 @@ my $tagslib = &GetTagsLabels(1,$authtypecode);
 
 my $auth_type = GetAuthType($authtypecode);
 
-my $record =GetAuthority($authid);
+my $record =GetAuthority($authid) if $authid;
 # open template
 my ($template, $loggedinuser, $cookie)
                = get_template_and_user({template_name => "authorities/blinddetail-biblio-search.tmpl",