From 886ee2d744650542e6a6e4649f3dffab871060d0 Mon Sep 17 00:00:00 2001 From: =?utf-8?q?Marc=20V=C3=A9ron?= Date: Fri, 30 Jun 2017 20:20:44 +0200 Subject: [PATCH] Bug 18881: Remove dead code from view_holdsqueue.pl Content-Type: text/plain; charset=utf-8 Aleisha spotted the typo in $itemtypes and proposed a correction on bug 18859. The description was not even used. Template calls GetDescription. To test: Verify that viewing the holds queue still works as expected. Signed-off-by: Marcel de Rooy --- circ/view_holdsqueue.pl | 1 - 1 file changed, 1 deletion(-) diff --git a/circ/view_holdsqueue.pl b/circ/view_holdsqueue.pl index 75b02d5..2792bd3 100755 --- a/circ/view_holdsqueue.pl +++ b/circ/view_holdsqueue.pl @@ -68,7 +68,6 @@ my @itemtypesloop; while ( my $itemtype = $itemtypes->next ) { push @itemtypesloop, { value => $itemtype->itemtype, - description => $itemtypes->description, # FIXME Don't we want the translated_description here? }; } -- 2.1.4