diff --git a/module/VuFind/src/VuFind/Recommend/AuthorInfo.php b/module/VuFind/src/VuFind/Recommend/AuthorInfo.php
index 0bd6caecfda6e2f839f5f0dab04488145f7a698a..3c50b23c9024d577b35d18859d40b1f6ffa11705 100644
--- a/module/VuFind/src/VuFind/Recommend/AuthorInfo.php
+++ b/module/VuFind/src/VuFind/Recommend/AuthorInfo.php
@@ -590,7 +590,7 @@ class AuthorInfo implements RecommendInterface, TranslatorAwareInterface
         $results = $auth->getResults();
 
         // Find first useful LCCN:
-        foreach ($results as $i => $current) {
+        foreach ($results as $current) {
             $lccn = $current->tryMethod('getRawLCCN');
             if (!empty($lccn)) {
                 $name = $this->getWikipediaNameFromViaf($lccn);