mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-06 07:04:57 +00:00
get id from args in getFolderParent()
This commit is contained in:
parent
7fc1a62b75
commit
b7315c501f
|
@ -330,6 +330,7 @@ class RestapiController { /* {{{ */
|
|||
$dms = $this->container->dms;
|
||||
$userobj = $this->container->userobj;
|
||||
|
||||
$id = $args['id'];
|
||||
if($id == 0) {
|
||||
return $response->withJson(array('success'=>true, 'message'=>'id is 0', 'data'=>''), 200);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user