// Fix Admin access
This commit is contained in:
1 parent
c105486fa3
commit
ba6699a378
2 files changed
+6
-11
No files matched your search
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user