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