And more ...
This commit is contained in:
parent
effa129d68
commit
2954559a39
1 changed files with 5 additions and 5 deletions
|
@ -494,23 +494,23 @@ function pumpio_send(&$a, &$b)
|
||||||
'objectType' => "note",
|
'objectType' => "note",
|
||||||
'content' => $content];
|
'content' => $content];
|
||||||
|
|
||||||
if ($title != "") {
|
if (!empty($title)) {
|
||||||
$params["object"]["displayName"] = $title;
|
$params["object"]["displayName"] = $title;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (count($receiver["to"])) {
|
if (!empty($receiver["to"])) {
|
||||||
$params["to"] = $receiver["to"];
|
$params["to"] = $receiver["to"];
|
||||||
}
|
}
|
||||||
|
|
||||||
if (count($receiver["bto"])) {
|
if (!empty($receiver["bto"])) {
|
||||||
$params["bto"] = $receiver["bto"];
|
$params["bto"] = $receiver["bto"];
|
||||||
}
|
}
|
||||||
|
|
||||||
if (count($receiver["cc"])) {
|
if (!empty($receiver["cc"])) {
|
||||||
$params["cc"] = $receiver["cc"];
|
$params["cc"] = $receiver["cc"];
|
||||||
}
|
}
|
||||||
|
|
||||||
if (count($receiver["bcc"])) {
|
if (!empty($receiver["bcc"])) {
|
||||||
$params["bcc"] = $receiver["bcc"];
|
$params["bcc"] = $receiver["bcc"];
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue