mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-26 05:42:13 +09:00
회원가입시 관리자페이지에서 추가한 회원구별 로직 개선
This commit is contained in:
parent
7f4ea252b6
commit
761a6d6fc0
1 changed files with 1 additions and 1 deletions
|
|
@ -499,7 +499,7 @@ class ncenterliteController extends ncenterlite
|
|||
function triggerAfterMemberInsert(&$obj)
|
||||
{
|
||||
// 관리자가 회원을 추가하는 경우 알림을 발송하지 않는다.
|
||||
if($obj->is_admin)
|
||||
if($obj->is_admin && Context::get('logged_info')->is_admin === 'Y')
|
||||
{
|
||||
return new Object();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue