[Koha-cvs] koha/authorities blinddetail-biblio-search.pl

paul poulain paul at koha-fr.org
Mon Jul 2 11:49:40 CEST 2007


CVSROOT:	/sources/koha
Module name:	koha
Changes by:	paul poulain <tipaul>	07/07/02 09:49:40

Modified files:
	authorities    : blinddetail-biblio-search.pl 

Log message:
	fix to avoid an error when removing an authority

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/authorities/blinddetail-biblio-search.pl?cvsroot=koha&r1=1.13&r2=1.14

Patches:
Index: blinddetail-biblio-search.pl
===================================================================
RCS file: /sources/koha/koha/authorities/blinddetail-biblio-search.pl,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -b -r1.13 -r1.14
--- blinddetail-biblio-search.pl	5 Jun 2007 08:54:18 -0000	1.13
+++ blinddetail-biblio-search.pl	2 Jul 2007 09:49:40 -0000	1.14
@@ -61,7 +61,7 @@
 
 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",





More information about the Koha-cvs mailing list