if ( $query->param('place_reserve') ) {
my $reserve_cnt = 0;
if ($maxreserves) {
my $patron = Koha::Patrons->find( $borrowernumber );
$reserve_cnt = $patron->holds->count;
}
-