[Koha-patches] [PATCH] (bug #2939) delete a warning

Nahuel ANGELINETTI nahuel.angelinetti at biblibre.com
Tue Feb 3 09:47:45 CET 2009


just add a default value to $sep
---
 reports/serials_stats.pl |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/reports/serials_stats.pl b/reports/serials_stats.pl
index 70d4111..a42fc70 100755
--- a/reports/serials_stats.pl
+++ b/reports/serials_stats.pl
@@ -49,7 +49,7 @@ my $order      = $input->param("order");
 my $output     = $input->param("output");
 my $basename   = $input->param("basename");
 my $mime       = $input->param("MIME");
-our $sep       = $input->param("sep");
+our $sep       = $input->param("sep") || '';
 $sep = "\t" if ($sep eq 'tabulation');
 
 my ($template, $borrowernumber, $cookie)
-- 
1.5.6.3




More information about the Koha-patches mailing list