aboutsummaryrefslogtreecommitdiffstats
path: root/include/wiki.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2016-11-16 14:13:10 -0800
committerzotlabs <mike@macgirvin.com>2016-11-16 14:13:10 -0800
commit91c803ff65314ff50621556da102ea37223cc64c (patch)
treea753ef63d5f0383eac123ba48412681700f9df7d /include/wiki.php
parent7a17ee9f8c4b31f96861d2b28060832395caf0ec (diff)
downloadvolse-hubzilla-91c803ff65314ff50621556da102ea37223cc64c.tar.gz
volse-hubzilla-91c803ff65314ff50621556da102ea37223cc64c.tar.bz2
volse-hubzilla-91c803ff65314ff50621556da102ea37223cc64c.zip
use item from DB for return value
Diffstat (limited to 'include/wiki.php')
-rw-r--r--include/wiki.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/wiki.php b/include/wiki.php
index ffa8b66d3..bcdf9d7d8 100644
--- a/include/wiki.php
+++ b/include/wiki.php
@@ -128,7 +128,7 @@ function wiki_create_wiki($channel, $observer_hash, $wiki, $acl) {
if ($item_id) {
\Zotlabs\Daemon\Master::Summon(array('Notifier', 'activity', $item_id));
- return array('item' => $arr, 'success' => true);
+ return array('item' => $post['item'], 'success' => true);
} else {
return array('item' => null, 'success' => false);
}