From 5aa34bf8b88c3a2f6fa6d67dcc8f37c9e9342657 Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Fri, 1 Jul 2016 11:36:02 -0400 Subject: [PATCH] Bug 15128 - (QA Followup) Fix use of 'my' variable causing loss of data --- opac/opac-suggestions.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opac/opac-suggestions.pl b/opac/opac-suggestions.pl index 26bc4f8..4691d0e 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); -- 2.1.4