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

(-)a/opac/opac-suggestions.pl (-2 / +1 lines)
Lines 113-119 if ( $op eq 'else' ) { Link Here
113
}
113
}
114
114
115
my $patrons_pending_suggestions_count = 0;
115
my $patrons_pending_suggestions_count = 0;
116
if ( $borrowernumber ) {
116
if ( $borrowernumber && C4::Context->preference("MaxOpenSuggestions") ne '' ) {
117
    $patrons_pending_suggestions_count = scalar @{ SearchSuggestion( { suggestedby => $borrowernumber, STATUS => 'ASKED' } ) } ;
117
    $patrons_pending_suggestions_count = scalar @{ SearchSuggestion( { suggestedby => $borrowernumber, STATUS => 'ASKED' } ) } ;
118
}
118
}
119
119
120
- 

Return to bug 15128