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:
Roland Häder 2022-06-17 10:57:17 +02:00
parent fdd237a090
commit 10bb7d5625

View file

@ -206,7 +206,7 @@ class APContact
if ($failed) {
self::markForArchival($fetched_contact ?: []);
return $fetched_contact;
return $fetched_contact ?? [];
}
}