Fix implode Warning in Diaspora

This commit is contained in:
Hypolite Petovan 2018-01-14 09:05:06 -05:00
parent 4dafdda99e
commit 39c036e6ba

View file

@ -4301,6 +4301,10 @@ class Diaspora
} }
$message = self::constructLike($r[0], $contact); $message = self::constructLike($r[0], $contact);
if ($message === false) {
return false;
}
$message["author_signature"] = self::signature($contact, $message); $message["author_signature"] = self::signature($contact, $message);
/* /*
@ -4333,6 +4337,10 @@ class Diaspora
$contact["uprvkey"] = $uprvkey; $contact["uprvkey"] = $uprvkey;
$message = self::constructComment($item, $contact); $message = self::constructComment($item, $contact);
if ($message === false) {
return false;
}
$message["author_signature"] = self::signature($contact, $message); $message["author_signature"] = self::signature($contact, $message);
/* /*