superblock issue + string update
This commit is contained in:
@@ -790,7 +790,7 @@ function conversation(&$a, $items, $mode, $update, $page_mode = 'traditional', $
|
||||
if($arr_blocked) {
|
||||
$blocked = false;
|
||||
foreach($arr_blocked as $b) {
|
||||
if(($b) && ($item['author_xchan'] == $b)) {
|
||||
if(($b) && (($item['author_xchan'] == $b) || $item['owner_xchan'] == $b)) {
|
||||
$blocked = true;
|
||||
break;
|
||||
}
|
||||
@@ -804,7 +804,7 @@ function conversation(&$a, $items, $mode, $update, $page_mode = 'traditional', $
|
||||
if($arr_blocked && $item['children']) {
|
||||
for($d = 0; $d < count($item['children']); $d ++) {
|
||||
foreach($arr_blocked as $b) {
|
||||
if(($b) && ($item['children'][$d]['author_xchan'] == $b))
|
||||
if(($b) && (($item['children'][$d]['author_xchan'] == $b) || ($item['children'][$d]['owner_xchan'] == $b)))
|
||||
$item['children'][$d]['author_blocked'] = true;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user