Fix: post_activity_item returns success => true even on failure.

This commit is contained in:
M.Dent 2019-02-18 22:40:19 -05:00
parent b5109d2a1a
commit cfcbaf33af

View File

@ -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 ]);