diff --git a/module/VuFind/src/VuFind/Recommend/AuthorInfo.php b/module/VuFind/src/VuFind/Recommend/AuthorInfo.php
index ee273ab08374fa2ff372965d3bb69d2ae6d64009..d8f6a23243d2cf3302538595f232eb2015ab3878 100644
--- a/module/VuFind/src/VuFind/Recommend/AuthorInfo.php
+++ b/module/VuFind/src/VuFind/Recommend/AuthorInfo.php
@@ -274,7 +274,7 @@ class AuthorInfo implements RecommendInterface, TranslatorAwareInterface
      */
     protected function extractInfoBoxInfo($body)
     {
-        $infobox = $imageName = $imageCaption = null;
+        $infoboxStr = $imageName = $imageCaption = null;
 
         // We are looking for the infobox inside "{{...}}"
         //   It may contain nested blocks too, thus the recursion
@@ -443,7 +443,8 @@ class AuthorInfo implements RecommendInterface, TranslatorAwareInterface
         $body = $page;
 
         /* Infobox */
-        list($infoboxStr, $imageName, $imageCaption) = $this->extractInfoBoxInfo($body);
+        list($infoboxStr, $imageName, $imageCaption)
+            = $this->extractInfoBoxInfo($body);
 
         /* Image */