Skip to content

Commit

Permalink
updated stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
eluhr committed Oct 25, 2018
1 parent 3ab66e7 commit 031b0c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/widgets/Publication.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,9 @@ public function run()
$html .= $this->renderHtmlByPublicationItem($publicationItem,$publicationCategory);

}
$widgets[] = "<div class='publication-widget publication-item-index'>{$html}</div>";
$widgets[] = $html;
}
return implode(PHP_EOL,$widgets);
return "<div class='publication-widget publication-item-index'>" . implode(PHP_EOL,$widgets) . '</div>';
}

if ($this->item) {
Expand Down

0 comments on commit 031b0c7

Please sign in to comment.