View | Details | Raw Unified | Return to bug 5670
Collapse All | Expand All

(-)a/members/housebound.pl (-2 / +2 lines)
Lines 55-61 my $visit_id = $input->param('visit_id') // q{}; Link Here
55
55
56
# Get patron
56
# Get patron
57
my $patron = eval {
57
my $patron = eval {
58
    return Koha::Patrons->new->find($input->param('borrowernumber'));
58
    my $borrowernumber = $input->param('borrowernumber') // q{};
59
    return Koha::Patrons->new->find($borrowernumber);
59
};
60
};
60
push @messages, { type => 'error', code => 'error_on_patron_load' }
61
push @messages, { type => 'error', code => 'error_on_patron_load' }
61
    if ( $@ or !$patron );
62
    if ( $@ or !$patron );
62
- 

Return to bug 5670