diff --git a/app/destinations/destination_edit.php b/app/destinations/destination_edit.php index 085abbe901..5d4474f5a1 100644 --- a/app/destinations/destination_edit.php +++ b/app/destinations/destination_edit.php @@ -307,9 +307,8 @@ if (strlen($fax_uuid) > 0) { $dialplan["dialplan_xml"] .= " \n"; $dialplan["dialplan_xml"] .= " \n"; - $dialplan["dialplan_xml"] .= " \n"; - $dialplan["dialplan_xml"] .= " \n"; - $dialplan["dialplan_xml"] .= " \n"; + $dialplan["dialplan_xml"] .= " \n"; + } if ($destination->valid($destination_app.':'.$destination_data)) { $dialplan["dialplan_xml"] .= " \n";