mirror of
https://github.com/friendica/friendica
synced 2025-01-11 06:04:43 +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) {
|
if ($failed) {
|
||||||
self::markForArchival($fetched_contact ?: []);
|
self::markForArchival($fetched_contact ?: []);
|
||||||
return $fetched_contact;
|
return $fetched_contact ?? [];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue