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
|
@ -206,7 +206,7 @@ class APContact
|
|||
|
||||
if ($failed) {
|
||||
self::markForArchival($fetched_contact ?: []);
|
||||
return $fetched_contact;
|
||||
return $fetched_contact ?? [];
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user