From 3b184ab85db438fefd6b0994e1f68704051a22cb Mon Sep 17 00:00:00 2001 From: amillar Date: Tue, 21 May 2002 06:15:41 +0000 Subject: [PATCH] Fix warning about use of undefined variable, found when endmenu called from marcimport.pl --- C4/Output.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/C4/Output.pm b/C4/Output.pm index 3af786b327..7961aa5e00 100644 --- a/C4/Output.pm +++ b/C4/Output.pm @@ -137,6 +137,7 @@ sub startmenu{ sub endmenu { my ($type) = @_; + if ( ! defined $type ) { $type=''; } if ($type eq 'issue') { open (FILE,"$path/issues-bottom.inc") || die; } elsif ($type eq 'opac') { -- 2.39.2