use C4::Auth qw(get_template_and_user);
use C4::Output qw(output_html_with_http_headers);
-use autouse 'C4::Branch' => qw(get_branch_code_from_name);
use C4::Creators;
use C4::Patroncards;
use C4::Labels;
$template->param(print => 1) if ($card_element eq 'batch');
$template->param(
- error => ($errstr ? 1 : 0),
- $errstr => 1,
+ error => $errstr,
);
$template->param(
op => $op,