From 92702aa010ed31e0a4b04260ae4bedf8b788e0be Mon Sep 17 00:00:00 2001 From: Garry Collum Date: Wed, 10 Feb 2010 21:24:48 -0500 Subject: [PATCH] Bug 2505: Enables warnings in matching-rules.pl. Signed-off-by: Galen Charlton --- admin/matching-rules.pl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/admin/matching-rules.pl b/admin/matching-rules.pl index a7d45d25f2..5d88c4684b 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) -- 2.20.1