From 1f3bee0bc632af0b47aa6d7e7d544694b11cc52a Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Fri, 27 Apr 2018 13:24:47 -0600 Subject: [PATCH] Update destination_edit.php --- 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 1b599337f2..68a3521c78 100644 --- a/app/destinations/destination_edit.php +++ b/app/destinations/destination_edit.php @@ -247,7 +247,7 @@ if (strlen($destination_cid_name_prefix) > 0) { $dialplan["dialplan_xml"] .= " \n"; } - if (strlen($destination_record) > 0) { + if (strlen($destination_record) > 0 && $destination_record == 'true') { $dialplan["dialplan_xml"] .= " \n"; $dialplan["dialplan_xml"] .= " \n"; $dialplan["dialplan_xml"] .= " \n";