diff --git a/opac/opac-suggestions.pl b/opac/opac-suggestions.pl index 26bc4f8998..4691d0ed10 100755 --- a/opac/opac-suggestions.pl +++ b/opac/opac-suggestions.pl @@ -114,7 +114,7 @@ if ( $op eq 'else' ) { my $patrons_pending_suggestions_count = 0; if ( $borrowernumber ) { - my $patrons_pending_suggestions_count = scalar @{ SearchSuggestion( { suggestedby => $borrowernumber, STATUS => 'ASKED' } ) } ; + $patrons_pending_suggestions_count = scalar @{ SearchSuggestion( { suggestedby => $borrowernumber, STATUS => 'ASKED' } ) } ; } my $suggestions_loop = &SearchSuggestion($suggestion);