aboutsummaryrefslogtreecommitdiffstats
path: root/include/items.php
diff options
context:
space:
mode:
authorM.Dent <dentm42@dm42.net>2019-02-18 22:40:19 -0500
committerM.Dent <dentm42@dm42.net>2019-02-18 22:40:19 -0500
commitcfcbaf33afa2cee1f458a20fe6c3fd4e76999cd5 (patch)
treeef13cf7f70710d00df66bb098f4ef5a6a3b06bdd /include/items.php
parentb5109d2a1ae6056ec845c66ad89ccb02b4de0a05 (diff)
downloadvolse-hubzilla-cfcbaf33afa2cee1f458a20fe6c3fd4e76999cd5.tar.gz
volse-hubzilla-cfcbaf33afa2cee1f458a20fe6c3fd4e76999cd5.tar.bz2
volse-hubzilla-cfcbaf33afa2cee1f458a20fe6c3fd4e76999cd5.zip
Fix: post_activity_item returns success => true even on failure.
Diffstat (limited to 'include/items.php')
-rwxr-xr-xinclude/items.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/items.php b/include/items.php
index a14e3db3a..30e758add 100755
--- a/include/items.php
+++ b/include/items.php
@@ -486,6 +486,8 @@ function post_activity_item($arr, $allow_code = false, $deliver = true) {
*/
call_hooks('post_local_end', $ret['activity']);
}
+ else
+ return $ret;
if($post_id && $deliver) {
Master::Summon([ 'Notifier','activity',$post_id ]);