From ebf1599f5f6bfea042ca6963b27f741dcc1d40ab Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Tue, 7 Apr 2026 09:59:57 -0600 Subject: [PATCH] Fix dialplan destination record --- app/destinations/destination_edit.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/destinations/destination_edit.php b/app/destinations/destination_edit.php index dd8b4dd3d..7fa10d996 100644 --- a/app/destinations/destination_edit.php +++ b/app/destinations/destination_edit.php @@ -561,7 +561,7 @@ if (!empty($destination_cid_name_prefix)) { $dialplan["dialplan_xml"] .= " \n"; } - if (!empty($destination_record) && $destination_record === true) { + if (!empty($destination_record) && $destination_record == true) { $dialplan["dialplan_xml"] .= " \n"; $dialplan["dialplan_xml"] .= " \n"; $dialplan["dialplan_xml"] .= " \n"; @@ -987,7 +987,7 @@ } //add option record to the dialplan - if ($destination_record === true) { + if ($destination_record == true) { //add a variable $dialplan["dialplan_details"][$y]["domain_uuid"] = $domain_uuid;