[-] BO : #PSFV-855 : Fix bug in BlockCMS AND set submit_action to NULL
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@14633 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -262,6 +262,8 @@ class BlockCms extends Module
|
||||
}
|
||||
|
||||
$helper = $this->initForm();
|
||||
$helper->submit_action = '';
|
||||
$helper->title = $this->l('CMS Block configuration');
|
||||
|
||||
$helper->fields_value = $this->fields_value;
|
||||
$this->_html .= $helper->generateForm($this->fields_form);
|
||||
@@ -649,7 +651,6 @@ class BlockCms extends Module
|
||||
{
|
||||
$this->_html = '';
|
||||
$this->_postProcess();
|
||||
$this->_html .= '<h2>'.$this->l('CMS Block configuration').'</h2>';
|
||||
|
||||
if (Tools::isSubmit('addBlockCMS') || Tools::isSubmit('editBlockCMS'))
|
||||
$this->displayAddForm();
|
||||
|
||||
Reference in New Issue
Block a user