From 128745b3cb732e5995c9267a77c54cd01e72140f Mon Sep 17 00:00:00 2001 From: Mark Crane Date: Sat, 2 Aug 2014 06:02:12 +0000 Subject: [PATCH] Fix the syntax in destination_edit.php --- app/destinations/destination_edit.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/destinations/destination_edit.php b/app/destinations/destination_edit.php index 628532513f..a531b9a169 100644 --- a/app/destinations/destination_edit.php +++ b/app/destinations/destination_edit.php @@ -221,12 +221,12 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) { //increment the dialplan detail order $dialplan_detail_order = $dialplan_detail_order + 10; - //set the call accountcode + //set the caller id name prefix if (strlen($destination_cid_name_prefix) > 0) { $dialplan["dialplan_details"][$y]["domain_uuid"] = $_SESSION['domain_uuid']; $dialplan["dialplan_details"][$y]["dialplan_detail_tag"] = "action"; $dialplan["dialplan_details"][$y]["dialplan_detail_type"] = "set"; - $dialplan["dialplan_details"][$y]["dialplan_detail_data"] = "caller_id_name=".$destination_cid_name_prefix".# \${caller_id_name}"; + $dialplan["dialplan_details"][$y]["dialplan_detail_data"] = "caller_id_name=".$destination_cid_name_prefix."#\${caller_id_name}"; $dialplan["dialplan_details"][$y]["dialplan_detail_order"] = $dialplan_detail_order; $y++; @@ -239,7 +239,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) { $dialplan["dialplan_details"][$y]["domain_uuid"] = $_SESSION['domain_uuid']; $dialplan["dialplan_details"][$y]["dialplan_detail_tag"] = "action"; $dialplan["dialplan_details"][$y]["dialplan_detail_type"] = "set"; - $dialplan["dialplan_details"][$y]["dialplan_detail_data"] = "accountcode=$destination_accountcode"; + $dialplan["dialplan_details"][$y]["dialplan_detail_data"] = "accountcode=".$destination_accountcode; $dialplan["dialplan_details"][$y]["dialplan_detail_order"] = $dialplan_detail_order; $y++;