mirror of
https://github.com/friendica/friendica
synced 2025-04-22 16:30:11 +00:00
Fix various Notices
This commit is contained in:
parent
9b19fb9b4d
commit
644f312896
7 changed files with 12 additions and 10 deletions
|
@ -293,7 +293,7 @@ class Contact extends BaseModule
|
|||
$contact = DBA::selectFirst('contact', [], ['id' => $contact_id, 'uid' => [0, local_user()], 'deleted' => false]);
|
||||
|
||||
// Don't display contacts that are about to be deleted
|
||||
if ($contact['network'] == Protocol::PHANTOM) {
|
||||
if (DBA::isResult($contact) && !empty($contact['network']) && $contact['network'] == Protocol::PHANTOM) {
|
||||
$contact = false;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue