X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=blobdiff_plain;f=patroncards%2Fedit-batch.pl;h=b0cd3b35d2fd05694d48a00cfdbeaf41da2389e9;hb=fd22187914afe5c806a98ea6eda0b2d0b455ab36;hp=4897e5f4e626be297bfa540e70ed1b397c12edfe;hpb=913aba1a6639e00535cdb631ed2ca80cbe80289f;p=koha_fer diff --git a/patroncards/edit-batch.pl b/patroncards/edit-batch.pl index 4897e5f4e6..b0cd3b35d2 100755 --- a/patroncards/edit-batch.pl +++ b/patroncards/edit-batch.pl @@ -27,7 +27,6 @@ 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; use C4::Patroncards; @@ -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;