[Koha-patches] [PATCH] Bug 2505: Enables warnings in matching-rules.pl.
Garry Collum
gcollum at gmail.com
Thu Feb 11 03:24:48 CET 2010
---
admin/matching-rules.pl | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/admin/matching-rules.pl b/admin/matching-rules.pl
index a7d45d2..5d88c46 100755
--- a/admin/matching-rules.pl
+++ b/admin/matching-rules.pl
@@ -19,6 +19,8 @@
#
use strict;
+use warnings;
+
use CGI;
use C4::Auth;
use C4::Context;
@@ -29,7 +31,7 @@ use C4::Matcher;
my $script_name = "/cgi-bin/koha/admin/matching-rules.pl";
my $input = new CGI;
-my $op = $input->param('op');
+my $op = $input->param('op') || '';
my ($template, $loggedinuser, $cookie)
--
1.5.6.5
More information about the Koha-patches
mailing list