From 723b9f19f416e65d573da219d83844e53b5212ca Mon Sep 17 00:00:00 2001 From: frytimo Date: Sun, 16 Nov 2025 00:29:07 -0400 Subject: [PATCH] Fix PHP warning when destination email is not in post data (#7618) --- app/destinations/destination_edit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/destinations/destination_edit.php b/app/destinations/destination_edit.php index 39ab9d83ba..19bd996fdb 100644 --- a/app/destinations/destination_edit.php +++ b/app/destinations/destination_edit.php @@ -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)) {