And more ...

This commit is contained in:
Michael 2018-07-09 08:52:12 +00:00
parent effa129d68
commit 2954559a39

View file

@ -494,23 +494,23 @@ function pumpio_send(&$a, &$b)
'objectType' => "note",
'content' => $content];
if ($title != "") {
if (!empty($title)) {
$params["object"]["displayName"] = $title;
}
if (count($receiver["to"])) {
if (!empty($receiver["to"])) {
$params["to"] = $receiver["to"];
}
if (count($receiver["bto"])) {
if (!empty($receiver["bto"])) {
$params["bto"] = $receiver["bto"];
}
if (count($receiver["cc"])) {
if (!empty($receiver["cc"])) {
$params["cc"] = $receiver["cc"];
}
if (count($receiver["bcc"])) {
if (!empty($receiver["bcc"])) {
$params["bcc"] = $receiver["bcc"];
}
} else {