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

(-)a/Koha/ILL/Request/Workflow/HistoryCheck.pm (-2 / +2 lines)
Lines 193-199 sub _find_matching_requests { Link Here
193
        @existing_id_fields = grep { $_ eq 'pubmedid' } @existing_id_fields;
193
        @existing_id_fields = grep { $_ eq 'pubmedid' } @existing_id_fields;
194
    }
194
    }
195
195
196
    my $patron = Koha::Patrons->find( { cardnumber => $self->{metadata}->{cardnumber} } );
196
    my $patron = Koha::Patrons->find(
197
        { cardnumber => $self->{metadata}->{cardnumber} || C4::Context->userenv->{'cardnumber'} } );
197
198
198
    return 0 unless $patron;
199
    return 0 unless $patron;
199
200
200
- 

Return to bug 39777