Merge remote branch 'kc/new/enh/bug_4820' into kcmaster
[srvgit] / admin / patron-attr-types.pl
index 5bb6556..188b040 100755 (executable)
@@ -19,6 +19,7 @@
 #
 
 use strict;
+use warnings;
 use CGI;
 use C4::Auth;
 use C4::Context;
@@ -29,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)