@@ -, +, @@ limit not set --- opac/opac-suggestions.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/opac/opac-suggestions.pl +++ a/opac/opac-suggestions.pl @@ -113,7 +113,7 @@ if ( $op eq 'else' ) { } my $patrons_pending_suggestions_count = 0; -if ( $borrowernumber ) { +if ( $borrowernumber && C4::Context->preference("MaxOpenSuggestions") ne '' ) { $patrons_pending_suggestions_count = scalar @{ SearchSuggestion( { suggestedby => $borrowernumber, STATUS => 'ASKED' } ) } ; } --