Revert: The display empty conditions added in the non required controllers, also updated the condition for better understanding
This commit is contained in:
@@ -229,7 +229,7 @@ class AdminMetaControllerCore extends AdminController
|
||||
|
||||
public function initPageHeaderToolbar()
|
||||
{
|
||||
if ($this->display != 'edit' && $this->display != 'add' && $this->display !='view') {
|
||||
if (empty($this->display) || $this->display == 'list') {
|
||||
$this->page_header_toolbar_btn['new_meta'] = array(
|
||||
'href' => self::$currentIndex.'&addmeta&token='.$this->token,
|
||||
'desc' => $this->l('Add a new page', null, null, false),
|
||||
|
||||
Reference in New Issue
Block a user