mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-05 17:51:40 +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
|
|
@ -267,7 +267,7 @@ class moduleModel extends module
|
|||
|
||||
if(!$menuItemSrl)
|
||||
{
|
||||
throw new Rhymix\Framework\Exceptions\InvalidRequest;
|
||||
return new BaseObject(-1, 'msg_invalid_request');
|
||||
}
|
||||
|
||||
$args = new stdClass();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue