diff options
Diffstat (limited to 'include/attach.php')
-rw-r--r-- | include/attach.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/attach.php b/include/attach.php index 1b89480b3..f61fea9a5 100644 --- a/include/attach.php +++ b/include/attach.php @@ -1244,7 +1244,7 @@ function recursive_activity_recipients($allow_cid, $allow_gid, $deny_cid, $deny_ $r_arr_deny_cid = array_unique($r_arr_deny_cid); //if none is allowed restrict to self - if(($r_arr_allow_gid === false) && ($r_arr_allow_gid === false)) { + if(($r_arr_allow_gid === false) && ($r_arr_allow_cid === false)) { $ret['allow_cid'] = $poster['xchan_hash']; } else { $ret['allow_gid'] = $r_arr_allow_gid; |