aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-01-26 15:16:41 -0800
committerzotlabs <mike@macgirvin.com>2017-01-26 15:16:41 -0800
commit22839e48d013abdc46b609cd50b45b3bce6626f9 (patch)
treeb36a061ac82ce7aa4d99871ec228f53c841631f4 /include
parentf7f39cf6c00d914efb1f2624d7a885ac912512e9 (diff)
downloadvolse-hubzilla-22839e48d013abdc46b609cd50b45b3bce6626f9.tar.gz
volse-hubzilla-22839e48d013abdc46b609cd50b45b3bce6626f9.tar.bz2
volse-hubzilla-22839e48d013abdc46b609cd50b45b3bce6626f9.zip
better handling of html special chars in wiki and wikipage names
Diffstat (limited to 'include')
-rwxr-xr-xinclude/items.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/items.php b/include/items.php
index 0c76fd4ee..0d9fb02a4 100755
--- a/include/items.php
+++ b/include/items.php
@@ -386,18 +386,18 @@ function post_activity_item($arr,$allow_code = false,$deliver = true) {
if($post['success']) {
$post_id = $post['item_id'];
+ $ret['success'] = true;
$ret['item_id'] = $post_id;
+ $ret['activity'] = $post['item'];
+ call_hooks('post_local_end', $ret['activity']);
}
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['activity'] = $post['item'];
}
+
+ $ret['success'] = true;
return $ret;
}