// Normalize + use $this->smarty instead of $this->context->smarty in modules

This commit is contained in:
rMalie
2011-12-30 14:59:57 +00:00
parent 0d4212f8b7
commit 443092c811
27 changed files with 87 additions and 86 deletions
+2 -2
View File
@@ -616,8 +616,8 @@ class HomeSlider extends Module
if (!$slides)
return;
$this->context->smarty->assign('homeslider_slides', $slides);
$this->context->smarty->assign('homeslider', $slider);
$this->smarty->assign('homeslider_slides', $slides);
$this->smarty->assign('homeslider', $slider);
return $this->display(__FILE__, 'homeslider.tpl');
}