[Koha-cvs] CVS: koha/C4 Output.pm,1.9,1.10

Alan Millar amillar at users.sourceforge.net
Tue May 21 08:15:44 CEST 2002


Update of /cvsroot/koha/koha/C4
In directory usw-pr-cvs1:/tmp/cvs-serv22665

Modified Files:
	Output.pm 
Log Message:

Fix warning about use of undefined variable, found when endmenu
   called from marcimport.pl


Index: Output.pm
===================================================================
RCS file: /cvsroot/koha/koha/C4/Output.pm,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -r1.9 -r1.10
*** Output.pm	15 May 2002 04:08:38 -0000	1.9
--- Output.pm	21 May 2002 06:15:41 -0000	1.10
***************
*** 138,141 ****
--- 138,142 ----
  sub endmenu {
    my ($type) = @_;
+   if ( ! defined $type ) { $type=''; }
    if ($type eq 'issue') {
      open (FILE,"$path/issues-bottom.inc") || die;





More information about the Koha-cvs mailing list