* my: call isInModal function to check if the page is open in a modal window.
This commit is contained in:
@@ -1368,7 +1368,7 @@ EOF;
|
||||
$this->app->loadLang('admin');
|
||||
if($this->app->user->account == 'guest') return $this->send(array('result' => 'fail', 'message' => 'guest', 'load' => array('alter' => 'guest', 'back' => true)));
|
||||
|
||||
$isonlybody = helper::inOnlyBodyMode();
|
||||
$isonlybody = isInModal();
|
||||
if(!$isonlybody) unset($this->lang->my->menu);
|
||||
|
||||
if(!empty($_POST))
|
||||
|
||||
Reference in New Issue
Block a user