Skip to content
Snippets Groups Projects
Commit 13210747 authored by Andrew Dolgov's avatar Andrew Dolgov
Browse files

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

parent 15b39a53
No related branches found
No related tags found
No related merge requests found
......@@ -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"];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment