// fix add var current and back in helperList
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@9868 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -332,11 +332,9 @@ class AdminTaxRulesGroupControllerCore extends AdminController
|
||||
|
||||
$this->getlanguages();
|
||||
$helper = new HelperForm();
|
||||
|
||||
// Check if form template has been overriden
|
||||
if (file_exists($this->context->smarty->template_dir[0].'/'.$this->tpl_folder.'form_new.tpl'))
|
||||
$helper->tpl = $this->tpl_folder.'form_new.tpl';
|
||||
|
||||
if (file_exists($this->context->smarty->template_dir[0].'/'.$this->tpl_folder.'form.tpl'))
|
||||
$helper->setTpl($this->tpl_folder.'form.tpl');
|
||||
$helper->currentIndex = self::$currentIndex;
|
||||
$helper->token = $this->token;
|
||||
$helper->table = 'tax_rule';
|
||||
|
||||
Reference in New Issue
Block a user