mailer: stop warning if to_name is unset (it's optional anyway)
This commit is contained in:
parent
15b39a534d
commit
13210747d8
|
@ -4,7 +4,7 @@ class Mailer {
|
||||||
|
|
||||||
function mail($params) {
|
function mail($params) {
|
||||||
|
|
||||||
$to_name = $params["to_name"];
|
$to_name = $params["to_name"] ?? "";
|
||||||
$to_address = $params["to_address"];
|
$to_address = $params["to_address"];
|
||||||
$subject = $params["subject"];
|
$subject = $params["subject"];
|
||||||
$message = $params["message"];
|
$message = $params["message"];
|
||||||
|
|
Loading…
Reference in New Issue