diff options
author | zotlabs <mike@macgirvin.com> | 2017-01-26 06:37:35 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-26 06:37:35 +1100 |
commit | c916906716528648d8559608216ca353507c23df (patch) | |
tree | 315989dd17ba37604069033e703bd09e89d0c71c /include/items.php | |
parent | 54f7cd53022284570ca38daba97386f929fd6f4a (diff) | |
parent | 1db57c498d0edceac705ba027790cfa9d4e04c6d (diff) | |
download | volse-hubzilla-c916906716528648d8559608216ca353507c23df.tar.gz volse-hubzilla-c916906716528648d8559608216ca353507c23df.tar.bz2 volse-hubzilla-c916906716528648d8559608216ca353507c23df.zip |
Merge pull request #653 from git-marijus/dev
fixes for wiki create/delete page
Diffstat (limited to 'include/items.php')
-rwxr-xr-x | include/items.php | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/include/items.php b/include/items.php index 3b7307239..3a3fd6029 100755 --- a/include/items.php +++ b/include/items.php @@ -383,15 +383,18 @@ function post_activity_item($arr,$allow_code = false,$deliver = true) { } $post = item_store($arr,$allow_code,$deliver); - if($post['success']) + + if($post['success']) { $post_id = $post['item_id']; + $ret['item_id'] = $post_id; + } if($post_id && $deliver) { $arr['id'] = $post_id; call_hooks('post_local_end', $arr); Zotlabs\Daemon\Master::Summon(array('Notifier','activity',$post_id)); $ret['success'] = true; - $ret['item_id'] = $post_id; + //$ret['item_id'] = $post_id; $ret['activity'] = $post['item']; } |