Skip to content

Commit

Permalink
Merge pull request #45 from mbareja/patch-1
Browse files Browse the repository at this point in the history
Corection wrong working as widget
  • Loading branch information
Quetzacoalt91 authored Jan 30, 2019
2 parents a901d45 + 0577fe4 commit d8dc4e8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ps_linklist.php
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,9 @@ public function getContent()

public function renderWidget($hookName, array $configuration)
{
if ($hookName == null && isset($configuration['hook'])) {
$hookName = $configuration['hook'];
}
$key = 'ps_linklist|' . $hookName;

if (!$this->isCached($this->templateFile, $this->getCacheId($key))) {
Expand Down

0 comments on commit d8dc4e8

Please sign in to comment.