From 8be2f7be1e8098311df370052c0f06979f8acfff Mon Sep 17 00:00:00 2001 From: vAugagneur Date: Thu, 3 May 2012 14:47:17 +0000 Subject: [PATCH] //small fix 2 git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@15051 b9a71923-0436-4b27-9f14-aed3839534dd --- modules/editorial/editorial.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/editorial/editorial.php b/modules/editorial/editorial.php index 33dee190b..073849a2e 100644 --- a/modules/editorial/editorial.php +++ b/modules/editorial/editorial.php @@ -202,6 +202,7 @@ class Editorial extends Module public function getContent() { + $this->_html = ''; $this->postProcess(); $helper = $this->initForm(); @@ -220,8 +221,8 @@ class Editorial extends Module if ($helper->fields_value['image']) $helper->fields_value['size'] = filesize(dirname(__FILE__).'/homepage_logo_'.(int)$id_shop.'.jpg') / 1000; - - return $helper->generateForm($this->fields_form); + $this->_html .= $helper->generateForm($this->fields_form); + return $this->_html; } public function postProcess()