mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-14 05:31:42 +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;
|
$dms = $this->container->dms;
|
||||||
$userobj = $this->container->userobj;
|
$userobj = $this->container->userobj;
|
||||||
|
|
||||||
|
$id = $args['id'];
|
||||||
if($id == 0) {
|
if($id == 0) {
|
||||||
return $response->withJson(array('success'=>true, 'message'=>'id is 0', 'data'=>''), 200);
|
return $response->withJson(array('success'=>true, 'message'=>'id is 0', 'data'=>''), 200);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user