From 87f4310dd2eaf3e2298e0a9bcb02ac7d54ec0c04 Mon Sep 17 00:00:00 2001 From: =?utf8?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 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 Signed-off-by: Jonathan Druart (cherry picked from commit f40c093c19e21c6a8aa7a41d4e51fc4e3fc1d8e9) Signed-off-by: Fridolin Somers --- circ/view_holdsqueue.pl | 1 - 1 file changed, 1 deletion(-) diff --git a/circ/view_holdsqueue.pl b/circ/view_holdsqueue.pl index 75b02d5944..2792bd3016 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.39.5