]> git.mxchange.org Git - friendica.git/commitdiff
Fix yet another Fatal Error in Protocol\OStatus (#5454)
authorHypolite Petovan <mrpetovan@eml.cc>
Sun, 22 Jul 2018 17:32:34 +0000 (13:32 -0400)
committerGitHub <noreply@github.com>
Sun, 22 Jul 2018 17:32:34 +0000 (13:32 -0400)
src/Protocol/OStatus.php

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