Bug 15128 - (QA Followup) Fix use of 'my' variable causing loss of data

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
This commit is contained in:
Nick Clemens 2016-07-01 11:36:02 -04:00 committed by Kyle M Hall
parent b6a774028a
commit 074a3ee338
1 changed files with 1 additions and 1 deletions

View File

@ -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);