From a202962f031c774ceb3f3d52e061bf0a396e06ea Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Sun, 22 Jul 2018 13:32:34 -0400 Subject: [PATCH] Fix yet another Fatal Error in Protocol\OStatus (#5454) --- src/Protocol/OStatus.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Protocol/OStatus.php b/src/Protocol/OStatus.php index 67c3070fe2..a443f65cef 100644 --- a/src/Protocol/OStatus.php +++ b/src/Protocol/OStatus.php @@ -219,6 +219,8 @@ class OStatus $gcid = GContact::update($contact); GContact::link($gcid, $contact["uid"], $contact["id"]); + } else { + $contact = null; } return $author;