[Koha-patches] [PATCH] Bug 2505: Enabled warnings in patron-attr-types.pl
Garry Collum
gcollum at gmail.com
Sun Jun 6 00:29:40 CEST 2010
Fixed all resulting errors.
---
admin/patron-attr-types.pl | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/admin/patron-attr-types.pl b/admin/patron-attr-types.pl
index f8c641d..188b040 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)
--
1.5.6.5
More information about the Koha-patches
mailing list