From 4b1d0cbf5318827c7cedf6a5d124263d2a8f03ee Mon Sep 17 00:00:00 2001 From: tipaul Date: Mon, 2 Jul 2007 09:49:40 +0000 Subject: [PATCH] fix to avoid an error when removing an authority --- authorities/blinddetail-biblio-search.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/authorities/blinddetail-biblio-search.pl b/authorities/blinddetail-biblio-search.pl index a97248886e..a5165af0dc 100755 --- a/authorities/blinddetail-biblio-search.pl +++ b/authorities/blinddetail-biblio-search.pl @@ -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", -- 2.39.5