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

(-)a/opac/opac-modrequest.pl (-2 / +1 lines)
Lines 46-52 if ( $reserve_id && $borrowernumber ) { Link Here
46
46
47
    my $hold = Koha::Holds->find($reserve_id);
47
    my $hold = Koha::Holds->find($reserve_id);
48
48
49
    unless ( $hold->borrowernumber == $borrowernumber ) {
49
    unless ( $hold && $hold->borrowernumber == $borrowernumber ) {
50
50
51
        # whatcha tryin to do?
51
        # whatcha tryin to do?
52
        print $query->redirect('/cgi-bin/koha/errors/403.pl');
52
        print $query->redirect('/cgi-bin/koha/errors/403.pl');
53
- 

Return to bug 40929