Fix: post_activity_item returns success => true even on failure.
This commit is contained in:
parent
b5109d2a1a
commit
cfcbaf33af
@ -486,6 +486,8 @@ function post_activity_item($arr, $allow_code = false, $deliver = true) {
|
|||||||
*/
|
*/
|
||||||
call_hooks('post_local_end', $ret['activity']);
|
call_hooks('post_local_end', $ret['activity']);
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
return $ret;
|
||||||
|
|
||||||
if($post_id && $deliver) {
|
if($post_id && $deliver) {
|
||||||
Master::Summon([ 'Notifier','activity',$post_id ]);
|
Master::Summon([ 'Notifier','activity',$post_id ]);
|
||||||
|
Reference in New Issue
Block a user