From 34936223f385713bb87f12432e4adf2fe430264c Mon Sep 17 00:00:00 2001 From: Garry Collum Date: Sat, 5 Jun 2010 18:29:40 -0400 Subject: [PATCH] Bug 2505: Enabled warnings in patron-attr-types.pl Fixed all resulting errors. Signed-off-by: Galen Charlton --- admin/patron-attr-types.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/admin/patron-attr-types.pl b/admin/patron-attr-types.pl index f8c641d311..188b040947 100755 --- a/admin/patron-attr-types.pl +++ b/admin/patron-attr-types.pl @@ -19,7 +19,7 @@ # use strict; -#use warnings; FIXME - Bug 2505 +use warnings; use CGI; use C4::Auth; use C4::Context; @@ -30,7 +30,7 @@ use C4::Members::AttributeTypes; my $script_name = "/cgi-bin/koha/admin/patron-attr-types.pl"; my $input = new CGI; -my $op = $input->param('op'); +my $op = $input->param('op') || ''; my ($template, $loggedinuser, $cookie) -- 2.39.5