From b436267e544c65b8930ccc27419cbc56b218d2bb Mon Sep 17 00:00:00 2001 From: Julien Bourdeau Date: Tue, 27 Sep 2016 09:40:42 +0200 Subject: [PATCH] FO: Call template with nice fetch method --- ps_customeraccountlinks.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ps_customeraccountlinks.php b/ps_customeraccountlinks.php index 2e352c6..1fa4b74 100644 --- a/ps_customeraccountlinks.php +++ b/ps_customeraccountlinks.php @@ -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 = [])