From 25ea754502d958d005c7666cfb229e81b5751e7c Mon Sep 17 00:00:00 2001 From: zotlabs Date: Sat, 3 Dec 2016 13:16:04 -0800 Subject: item_store: parent wasn't being returned in api call --- include/items.php | 1 + 1 file changed, 1 insertion(+) (limited to 'include/items.php') diff --git a/include/items.php b/include/items.php index e20c41d29..215f70031 100755 --- a/include/items.php +++ b/include/items.php @@ -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']; } -- cgit v1.2.3