mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-26 22:02:13 +09:00
로그인 정보없이 회원메뉴가 추가되는 거 방지
This commit is contained in:
parent
9e78008fe6
commit
c4ef6d11e1
1 changed files with 6 additions and 3 deletions
|
|
@ -1910,9 +1910,12 @@ class memberController extends member
|
|||
function addMemberMenu($act, $str)
|
||||
{
|
||||
$logged_info = Context::get('logged_info');
|
||||
|
||||
$logged_info->menu_list[$act] = lang($str);
|
||||
|
||||
|
||||
if(is_object($logged_info))
|
||||
{
|
||||
$logged_info->menu_list[$act] = lang($str);
|
||||
}
|
||||
|
||||
Context::set('logged_info', $logged_info);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue