Bug 4330 : Adding some copyright BibLibre statements
[koha_fer] / admin / patron-attr-types.pl
index f8c641d..1dfe442 100755 (executable)
@@ -1,6 +1,7 @@
 #! /usr/bin/perl
 #
 # Copyright 2008 LibLime
+# Parts copyright 2010 BibLibre
 #
 # This file is part of Koha.
 #
@@ -19,7 +20,7 @@
 #
 
 use strict;
-#use warnings; FIXME - Bug 2505
+use warnings;
 use CGI;
 use C4::Auth;
 use C4::Context;
@@ -30,7 +31,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)