mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-10 04:03:01 +09:00
Return BaseObject instead of Exception in commonly used internal functions
This commit is contained in:
parent
54f0346a50
commit
88dc76501a
2 changed files with 2 additions and 2 deletions
|
|
@ -2629,7 +2629,7 @@ class memberController extends member
|
|||
unset($args->denied);
|
||||
if($logged_info->member_srl != $args->member_srl && $is_admin == false)
|
||||
{
|
||||
throw new Rhymix\Framework\Exceptions\InvalidRequest;
|
||||
return new BaseObject(-1, 'msg_invalid_request');
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue