diff options
author | M.Dent <dentm42@dm42.net> | 2019-02-18 22:40:19 -0500 |
---|---|---|
committer | M.Dent <dentm42@dm42.net> | 2019-02-18 22:40:19 -0500 |
commit | cfcbaf33afa2cee1f458a20fe6c3fd4e76999cd5 (patch) | |
tree | ef13cf7f70710d00df66bb098f4ef5a6a3b06bdd /include | |
parent | b5109d2a1ae6056ec845c66ad89ccb02b4de0a05 (diff) | |
download | volse-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')
-rwxr-xr-x | include/items.php | 2 |
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 ]); |