From: Hypolite Petovan Date: Sun, 14 Jan 2018 14:05:06 +0000 (-0500) Subject: Fix implode Warning in Diaspora X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=39c036e6bafa462f309e504003fd6df5bd4609ea;p=friendica.git Fix implode Warning in Diaspora --- diff --git a/src/Protocol/Diaspora.php b/src/Protocol/Diaspora.php index bf14b44d22..7071eb3526 100644 --- a/src/Protocol/Diaspora.php +++ b/src/Protocol/Diaspora.php @@ -4301,6 +4301,10 @@ class Diaspora } $message = self::constructLike($r[0], $contact); + if ($message === false) { + return false; + } + $message["author_signature"] = self::signature($contact, $message); /* @@ -4333,6 +4337,10 @@ class Diaspora $contact["uprvkey"] = $uprvkey; $message = self::constructComment($item, $contact); + if ($message === false) { + return false; + } + $message["author_signature"] = self::signature($contact, $message); /*