From 03dfc4e9c103ae7df6ac5c1210d1dcce8796de77 Mon Sep 17 00:00:00 2001 From: Aleisha Amohia Date: Tue, 27 Jun 2017 01:47:25 +0000 Subject: [PATCH] Bug 18859: Prevent warns when viewing holds queue The code was using $itemtypes->description instead of $itemtype->description. To test: 1) View the intranet log 2) Go to Circulation -> Holds queue 3) Notice the warns 4) Apply patch and refresh page 5) Warns should not appear and item types should still display as expected Sponsored-by: Catalyst IT --- circ/view_holdsqueue.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/circ/view_holdsqueue.pl b/circ/view_holdsqueue.pl index 75b02d5..7c09754 100755 --- a/circ/view_holdsqueue.pl +++ b/circ/view_holdsqueue.pl @@ -68,7 +68,7 @@ my @itemtypesloop; while ( my $itemtype = $itemtypes->next ) { push @itemtypesloop, { value => $itemtype->itemtype, - description => $itemtypes->description, # FIXME Don't we want the translated_description here? + description => $itemtype->description, # FIXME Don't we want the translated_description here? }; } -- 2.1.4