item_store: parent wasn't being returned in api call
This commit is contained in:
parent
3152d039a5
commit
25ea754502
@ -1813,6 +1813,7 @@ function item_store($arr, $allow_exec = false, $deliver = true) {
|
|||||||
$x = q("update item set parent = id where id = %d",
|
$x = q("update item set parent = id where id = %d",
|
||||||
intval($r[0]['id'])
|
intval($r[0]['id'])
|
||||||
);
|
);
|
||||||
|
$arr['parent'] = $r[0]['id'];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user