// fix add var current and back in helperList

This commit is contained in:
lLefevre
2011-11-03 18:24:00 +00:00
parent 912e32f0ba
commit 915b62e173
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';