Lines 54-60
sub show_history_check {
Link Here
|
54 |
|
54 |
|
55 |
my $opac_no_matching_requests_for_patron = 0; |
55 |
my $opac_no_matching_requests_for_patron = 0; |
56 |
if ( $self->{ui_context} eq 'opac' ) { |
56 |
if ( $self->{ui_context} eq 'opac' ) { |
57 |
my $patron_cardnumber = C4::Context->userenv->{'cardnumber'} || 0; |
57 |
my $patron_cardnumber = C4::Context->userenv ? C4::Context->userenv->{'cardnumber'} || 0 : 0; |
58 |
my ( $matching_requests_for_patron, $remaining_matching_requests ) = |
58 |
my ( $matching_requests_for_patron, $remaining_matching_requests ) = |
59 |
$self->_get_split_matching_requests($patron_cardnumber); |
59 |
$self->_get_split_matching_requests($patron_cardnumber); |
60 |
$opac_no_matching_requests_for_patron = 1 |
60 |
$opac_no_matching_requests_for_patron = 1 |
61 |
- |
|
|