mirror of
https://github.com/friendica/friendica
synced 2025-04-27 12:30:11 +00:00
Check $contact['id']
- see https://github.com/friendica/friendica/issues/6918#issuecomment-498043313
This commit is contained in:
parent
f5606fb211
commit
236c0dc248
2 changed files with 4 additions and 4 deletions
|
@ -2157,7 +2157,8 @@ class Contact extends BaseObject
|
|||
|
||||
if (!empty($contact)) {
|
||||
// Contact is blocked at user-level
|
||||
if (self::isBlockedByUser($contact['id'], $importer['id'])) {
|
||||
if (!empty($contact['id']) && !empty($importer['id']) &&
|
||||
self::isBlockedByUser($contact['id'], $importer['id'])) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue