Fix PHP warning when destination email is not in post data (#7618)

This commit is contained in:
frytimo
2025-11-16 00:29:07 -04:00
committed by GitHub
parent 5f1b34a194
commit 723b9f19f4

View File

@@ -130,7 +130,7 @@
$destination_type_text = $_POST["destination_type_text"] ?? null;
$destination_type_emergency = $_POST["destination_type_emergency"] ?? null;
$destination_carrier = $_POST["destination_carrier"] ?? null;
$destination_email = $_POST["destination_email"];
$destination_email = $_POST["destination_email"] ?? null;
//sanitize the destination conditions
if (!empty($destination_conditions)) {