mirror of
https://github.com/friendica/friendica
synced 2025-05-11 19:04:09 +02:00
Now without array_merge
This commit is contained in:
parent
9e3aff9ade
commit
ee8baf00ce
2 changed files with 2 additions and 2 deletions
|
@ -1587,7 +1587,7 @@ class Contact extends BaseObject
|
|||
return '';
|
||||
}
|
||||
|
||||
if (in_array($contact["network"], array_merge(Protocol::FEDERATED ,['']))) {
|
||||
if (empty($contact["network"]) || in_array($contact["network"], Protocol::FEDERATED)) {
|
||||
$sql = "(`item`.`uid` = 0 OR (`item`.`uid` = ? AND NOT `item`.`global`))";
|
||||
} else {
|
||||
$sql = "`item`.`uid` = ?";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue