Fix implode Warning in Diaspora
This commit is contained in:
parent
4dafdda99e
commit
39c036e6ba
|
@ -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);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in a new issue