mailer: stop warning if to_name is unset (it's optional anyway)

master
Andrew Dolgov 4 years ago
parent 15b39a534d
commit 13210747d8

@ -4,7 +4,7 @@ class Mailer {
function mail($params) {
$to_name = $params["to_name"];
$to_name = $params["to_name"] ?? "";
$to_address = $params["to_address"];
$subject = $params["subject"];
$message = $params["message"];

Loading…
Cancel
Save