Bug 2505: Enables warnings in matching-rules.pl.
authorGarry Collum <gcollum@gmail.com>
Thu, 11 Feb 2010 02:24:48 +0000 (21:24 -0500)
committerGalen Charlton <gmcharlt@gmail.com>
Thu, 11 Feb 2010 03:10:43 +0000 (22:10 -0500)
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
admin/matching-rules.pl

index a7d45d2..5d88c46 100755 (executable)
@@ -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)