Skip to content

Commit

Permalink
FO: Call template with nice fetch method
Browse files Browse the repository at this point in the history
  • Loading branch information
julienbourdeau committed Sep 27, 2016
1 parent d48a139 commit b436267
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ps_customeraccountlinks.php
Expand Up @@ -65,7 +65,7 @@ public function renderWidget($hookName = null, array $configuration = [])
{
$this->smarty->assign($this->getWidgetVariables($hookName, $configuration));

return $this->display(__FILE__, $this->name.'.tpl');
return $this->fetch('module:'.$this->name.'/'.$this->name.'.tpl');
}

public function getWidgetVariables($hookName = null, array $configuration = [])
Expand Down

0 comments on commit b436267

Please sign in to comment.