X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=patroncards%2Fedit-batch.pl;h=b0cd3b35d2fd05694d48a00cfdbeaf41da2389e9;hb=46bbfa12a1d20cfaea2c61ad9bf1fdb47a25435a;hp=fb0abf5f22c58fde3e385938ddcbbf960ac7d8f2;hpb=c8df6bdcc9fe2523a77c839270b31304d8e13ee5;p=koha.git 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;