my $results;
eval { $results = Koha::Patrons->merge( { keeper => $keeper, patrons => \@ids } ); };
if ($@) {
$template->param( results => $results );
} else {
$template->param( error => $@ );
}
-