Fix yet another Fatal Error in Protocol\OStatus (#5454)

This commit is contained in:
Hypolite Petovan 2018-07-22 13:32:34 -04:00 committed by GitHub
parent d6ccba79e0
commit a202962f03
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -219,6 +219,8 @@ class OStatus
$gcid = GContact::update($contact); $gcid = GContact::update($contact);
GContact::link($gcid, $contact["uid"], $contact["id"]); GContact::link($gcid, $contact["uid"], $contact["id"]);
} else {
$contact = null;
} }
return $author; return $author;