From 0c4a8ca89f8aed27e863b587e676b454bba317f5 Mon Sep 17 00:00:00 2001 From: Mark Tompsett Date: Wed, 15 Apr 2015 12:33:29 -0400 Subject: [PATCH] Bug 14001 - Inventory tool is not plack friendly After receiving an error while attempt a simple inventory run, Line 297 was changed from: ...$_->... to ...$item->... since the loop variable is $item. TEST PLAN --------- 1) Do what is described in comment #1 -- *kaboom* 2) apply the patch on the kohadevbox 3) re-attempt -- success! 4) run koha qa test tools --- tools/inventory.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/inventory.pl b/tools/inventory.pl index b8cc31d..75ad597 100755 --- a/tools/inventory.pl +++ b/tools/inventory.pl @@ -294,7 +294,7 @@ foreach my $item ( @scanned_items ) { } # Modify date last seen for scanned items - ModDateLastSeen($_->{'itemnumber'}); + ModDateLastSeen($item->{'itemnumber'}); $moddatecount++; } -- 1.9.1