item_store: parent wasn't being returned in api call

This commit is contained in:
zotlabs 2016-12-03 13:16:04 -08:00
parent 3152d039a5
commit 25ea754502

View File

@ -1813,6 +1813,7 @@ function item_store($arr, $allow_exec = false, $deliver = true) {
$x = q("update item set parent = id where id = %d",
intval($r[0]['id'])
);
$arr['parent'] = $r[0]['id'];
}