// 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:
lLefevre
2011-11-03 18:24:00 +00:00
parent 4d9c71b4a6
commit a0e4124e3a
5 changed files with 169 additions and 12 deletions
@@ -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';