// Fix Admin access

This commit is contained in:
Jerome Nadaud
2013-09-12 15:55:14 +02:00
parent c105486fa3
commit ba6699a378
2 changed files with 6 additions and 11 deletions
@@ -114,16 +114,11 @@ class AdminAccessControllerCore extends AdminController
public function initContent()
{
$this->display = 'edit';
// toolbar (save, cancel, new, ..)
$this->initToolbar();
unset($this->toolbar_btn['save']);
unset($this->toolbar_btn['cancel']);
if (!$this->loadObject(true))
return;
$this->content .= $this->renderForm();
$this->context->smarty->assign(array(
'content' => $this->content,
'url_post' => self::$currentIndex.'&token='.$this->token,