From 3a8f875b1297b07f2ec40120ca29030315d92e7b Mon Sep 17 00:00:00 2001
From: Demian Katz <demian.katz@villanova.edu>
Date: Wed, 6 Nov 2013 13:08:28 -0500
Subject: [PATCH] Eliminated unused variable.

---
 module/VuFind/src/VuFind/Controller/BrowseController.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/module/VuFind/src/VuFind/Controller/BrowseController.php b/module/VuFind/src/VuFind/Controller/BrowseController.php
index 0223998b147..c1dfaef0a20 100644
--- a/module/VuFind/src/VuFind/Controller/BrowseController.php
+++ b/module/VuFind/src/VuFind/Controller/BrowseController.php
@@ -380,7 +380,7 @@ class BrowseController extends AbstractBase
                     $this->params()->fromQuery('findby')
                 )
             );
-            foreach ($secondaryList as $index=>$item) {
+            foreach (array_keys($secondaryList) as $index) {
                 $secondaryList[$index]['value'] .=
                     ' AND dewey-hundreds:'
                     . $this->params()->fromQuery('findby');
-- 
GitLab