diff --git a/module/my/control.php b/module/my/control.php index ca8ce56829..a8ae33757e 100755 --- a/module/my/control.php +++ b/module/my/control.php @@ -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))