* my: call isInModal function to check if the page is open in a modal window.

This commit is contained in:
liugang
2023-11-08 17:23:12 +08:00
parent 9f8001455d
commit 6da5f16c83
+1 -1
View File
@@ -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))