aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2016-12-03 13:16:04 -0800
committerzotlabs <mike@macgirvin.com>2016-12-03 13:16:04 -0800
commit25ea754502d958d005c7666cfb229e81b5751e7c (patch)
treec11bbe376878a292e99fe1b7cdc9166c29e4075d
parent3152d039a5002bf75c932a7973f11f5af86ac7a4 (diff)
downloadvolse-hubzilla-25ea754502d958d005c7666cfb229e81b5751e7c.tar.gz
volse-hubzilla-25ea754502d958d005c7666cfb229e81b5751e7c.tar.bz2
volse-hubzilla-25ea754502d958d005c7666cfb229e81b5751e7c.zip
item_store: parent wasn't being returned in api call
-rwxr-xr-xinclude/items.php1
1 files changed, 1 insertions, 0 deletions
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'];
}