From 564a0fbb412140062c48537bc4f2fdd109e3700c Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Fri, 6 Jan 2017 11:45:17 +0100 Subject: [PATCH] Bug 17736: [QA Follow-up] Solve warning from qa tools on Holds.t Content-Type: text/plain; charset=utf-8 FAIL t/db_dependent/Holds.t "my" variable $hold masks earlier declaration in same scope Signed-off-by: Marcel de Rooy --- t/db_dependent/Holds.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/db_dependent/Holds.t b/t/db_dependent/Holds.t index b58753f..5825f7c 100755 --- a/t/db_dependent/Holds.t +++ b/t/db_dependent/Holds.t @@ -204,7 +204,7 @@ ok( $reserve->{'reserve_id'} eq $reserve2->{'reserve_id'}, "Test GetReserveInfo( $holds = $biblio->holds; -my $hold = $holds->next; +$hold = $holds->next; AlterPriority( 'top', $hold->reserve_id ); $reserve = GetReserve( $reserve->{'reserve_id'} ); is( $reserve->{'priority'}, '1', "Test AlterPriority(), move to top" ); -- 2.1.4