X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=blobdiff_plain;f=patroncards%2Fedit-batch.pl;h=b0cd3b35d2fd05694d48a00cfdbeaf41da2389e9;hb=81133cf2c2238aaff3b3594b95211c689d2dae61;hp=fb0abf5f22c58fde3e385938ddcbbf960ac7d8f2;hpb=aef1dd15fbe37a8a9c30ba4b38f7ecd6c1fea54d;p=koha_fer diff --git a/patroncards/edit-batch.pl b/patroncards/edit-batch.pl index fb0abf5f22..b0cd3b35d2 100755 --- a/patroncards/edit-batch.pl +++ b/patroncards/edit-batch.pl @@ -27,9 +27,8 @@ use autouse 'Data::Dumper' => qw(Dumper); use C4::Auth qw(get_template_and_user); use C4::Output qw(output_html_with_http_headers); -use C4::Branch qw(get_branch_code_from_name); -use C4::Creators 1.000000; -use C4::Patroncards 1.000000; +use C4::Creators; +use C4::Patroncards; my $cgi = new CGI; my ( $template, $loggedinuser, $cookie ) = get_template_and_user( @@ -134,8 +133,7 @@ $template->param( table_loop => $table, duplicate_message => $duplicate_message, duplicate_count => $duplicate_count, - error => ($errstr ? 1 : 0), - $errstr => 1, + error => $errstr, ); output_html_with_http_headers $cgi, $cookie, $template->output;