[*] MO: remove all static call of Module::display() method. Use it as a method on a Module instance.

This commit is contained in:
rMalie
2011-11-28 10:04:41 +00:00
parent 8c9ac59984
commit 8c470eaef0
9 changed files with 20 additions and 34 deletions
+1 -1
View File
@@ -1318,7 +1318,7 @@ class PayPal extends PaymentModule
public function display($file, $template, $cacheId = NULL, $compileId = NULL)
{
if (substr(_PS_VERSION_, 0, 3) != '1.3')
return parent::displayTemplate($file, $template);
return parent::display($file, $template);
global $smarty;
$previousTemplate = $smarty->currentTemplate;