mirror of
https://github.com/friendica/friendica
synced 2024-12-23 10:00:20 +00:00
Possible fix for
Uncaught Exception TypeError: "Return value of Friendica\Model\APContact::getByURL() must be of the type array, bool returned"
This commit is contained in:
parent
fdd237a090
commit
10bb7d5625
1 changed files with 1 additions and 1 deletions
|
@ -206,7 +206,7 @@ class APContact
|
|||
|
||||
if ($failed) {
|
||||
self::markForArchival($fetched_contact ?: []);
|
||||
return $fetched_contact;
|
||||
return $fetched_contact ?? [];
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue