Skip to content
Snippets Groups Projects
Commit 75654852 authored by Demian Katz's avatar Demian Katz
Browse files

Minor fixes.

parent 0318aab9
No related merge requests found
...@@ -274,7 +274,7 @@ class AuthorInfo implements RecommendInterface, TranslatorAwareInterface ...@@ -274,7 +274,7 @@ class AuthorInfo implements RecommendInterface, TranslatorAwareInterface
*/ */
protected function extractInfoBoxInfo($body) protected function extractInfoBoxInfo($body)
{ {
$infobox = $imageName = $imageCaption = null; $infoboxStr = $imageName = $imageCaption = null;
// We are looking for the infobox inside "{{...}}" // We are looking for the infobox inside "{{...}}"
// It may contain nested blocks too, thus the recursion // It may contain nested blocks too, thus the recursion
...@@ -443,7 +443,8 @@ class AuthorInfo implements RecommendInterface, TranslatorAwareInterface ...@@ -443,7 +443,8 @@ class AuthorInfo implements RecommendInterface, TranslatorAwareInterface
$body = $page; $body = $page;
/* Infobox */ /* Infobox */
list($infoboxStr, $imageName, $imageCaption) = $this->extractInfoBoxInfo($body); list($infoboxStr, $imageName, $imageCaption)
= $this->extractInfoBoxInfo($body);
/* Image */ /* Image */
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment