//small fix 2

This commit is contained in:
vAugagneur
2012-05-03 14:47:17 +00:00
parent 38a3c05f5d
commit 592a02657b
+3 -2
View File
@@ -202,6 +202,7 @@ class Editorial extends Module
public function getContent() public function getContent()
{ {
$this->_html = '';
$this->postProcess(); $this->postProcess();
$helper = $this->initForm(); $helper = $this->initForm();
@@ -220,8 +221,8 @@ class Editorial extends Module
if ($helper->fields_value['image']) if ($helper->fields_value['image'])
$helper->fields_value['size'] = filesize(dirname(__FILE__).'/homepage_logo_'.(int)$id_shop.'.jpg') / 1000; $helper->fields_value['size'] = filesize(dirname(__FILE__).'/homepage_logo_'.(int)$id_shop.'.jpg') / 1000;
$this->_html .= $helper->generateForm($this->fields_form);
return $helper->generateForm($this->fields_form); return $this->_html;
} }
public function postProcess() public function postProcess()