mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-08 03:22:29 +09:00
문자열을 정수로 바꿔 회원 고유번호를 비교
This commit is contained in:
parent
ce03006e3f
commit
84f36ab6b5
2 changed files with 3 additions and 3 deletions
|
|
@ -83,7 +83,7 @@ class ncenterliteController extends ncenterlite
|
|||
$member_srl = $this->user->member_srl;
|
||||
}
|
||||
|
||||
if($this->user->member_srl != $member_srl && $this->user->is_admin != 'Y')
|
||||
if(intval($this->user->member_srl) != intval($member_srl) && $this->user->is_admin != 'Y')
|
||||
{
|
||||
throw new Rhymix\Framework\Exception('ncenterlite_stop_no_permission_other_user_block_settings');
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue