//small fix 2
This commit is contained in:
@@ -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()
|
||||||
|
|||||||
Reference in New Issue
Block a user