From: Hypolite Petovan <mrpetovan@eml.cc>
Date: Sun, 22 Jul 2018 17:32:34 +0000 (-0400)
Subject: Fix yet another Fatal Error in Protocol\OStatus (#5454)
X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=a202962f031c774ceb3f3d52e061bf0a396e06ea;p=friendica.git

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

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;