From c8d4f9c157be9f6c99d1e98f1e53e808e0eed169 Mon Sep 17 00:00:00 2001 From: Garry Collum Date: Wed, 10 Feb 2010 21:22:09 -0500 Subject: [PATCH] Bug 2505: Enables warnings in matching-rules.pl. Content-Type: text/plain; charset="utf-8" --- 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