//small fix 2
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@15051 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
1 parent
d1689a5c75
commit
8be2f7be1e
1 file changed
+3
-2
@@ -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