aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2019-02-19 08:46:03 +0100
committerMario <mario@mariovavti.com>2019-02-19 08:46:03 +0100
commit7e8434404fa8f68b280644505229536204dd11cc (patch)
treee1bd09a8443dde4008019a8342e9d156fe40c8d1
parentc8ab2bec5e3b836e3f152beb915bb95273c63ba5 (diff)
parentcfcbaf33afa2cee1f458a20fe6c3fd4e76999cd5 (diff)
downloadvolse-hubzilla-7e8434404fa8f68b280644505229536204dd11cc.tar.gz
volse-hubzilla-7e8434404fa8f68b280644505229536204dd11cc.tar.bz2
volse-hubzilla-7e8434404fa8f68b280644505229536204dd11cc.zip
Merge branch 'patch-20190218a' into 'dev'
Fix: post_activity_item returns success => true even on failure. See merge request hubzilla/core!1521
-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 ]);