X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=blobdiff_plain;f=admin%2Fpatron-attr-types.pl;h=1dfe442a60ed06912fff90c2d4ac86f379487bf8;hb=ddbedbfc2f17bff016736afb5beae39a768a298a;hp=f8c641d311527bc892f333c69d0ea7b66dd66d46;hpb=c9ba8c899d854d4190df783f3f1aec2989d2cb10;p=koha_fer diff --git a/admin/patron-attr-types.pl b/admin/patron-attr-types.pl index f8c641d311..1dfe442a60 100755 --- a/admin/patron-attr-types.pl +++ b/admin/patron-attr-types.pl @@ -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)