//fixed bug update duplicate call HelperOptions()
This commit is contained in:
@@ -116,14 +116,6 @@ class AdminBackupControllerCore extends AdminController
|
|||||||
));
|
));
|
||||||
}
|
}
|
||||||
parent::initContent();
|
parent::initContent();
|
||||||
|
|
||||||
if ($this->display == 'list')
|
|
||||||
{
|
|
||||||
$helper = new HelperOptions();
|
|
||||||
$helper->id = $this->id;
|
|
||||||
$helper->currentIndex = self::$currentIndex;
|
|
||||||
$this->content .= $helper->generateOptions($this->options);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public function postProcess()
|
public function postProcess()
|
||||||
|
|||||||
@@ -129,14 +129,6 @@ class AdminContactsControllerCore extends AdminController
|
|||||||
$this->display = 'list';
|
$this->display = 'list';
|
||||||
|
|
||||||
parent::initContent();
|
parent::initContent();
|
||||||
|
|
||||||
if ($this->display == 'list')
|
|
||||||
{
|
|
||||||
$helper = new HelperOptions();
|
|
||||||
$helper->id = $this->id;
|
|
||||||
$helper->currentIndex = self::$currentIndex;
|
|
||||||
$this->content .= $helper->generateOptions($this->options);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -281,14 +281,6 @@ class AdminCurrenciesControllerCore extends AdminController
|
|||||||
$this->display = 'list';
|
$this->display = 'list';
|
||||||
|
|
||||||
parent::initContent();
|
parent::initContent();
|
||||||
|
|
||||||
if ($this->display = 'list')
|
|
||||||
{
|
|
||||||
$helper = new HelperOptions();
|
|
||||||
$helper->id = $this->id;
|
|
||||||
$helper->currentIndex = self::$currentIndex;
|
|
||||||
$this->content .= $helper->generateOptions($this->options);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user