From 2daa350690746539b782f7f39af73cce5003918d Mon Sep 17 00:00:00 2001 From: Mark Crane Date: Wed, 10 Dec 2014 04:43:27 +0000 Subject: [PATCH] Only filter the conditions from the dialplan actions. --- 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 135bd7e350..26e65995d5 100644 --- a/app/destinations/destination_edit.php +++ b/app/destinations/destination_edit.php @@ -601,7 +601,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) { $x = 0; $order = 10; foreach($dialplan_details as $row) { - if ($row["dialplan_detail_type"] == "transfer" || $row["dialplan_detail_type"] == "bridge" || $row["dialplan_detail_type"] == "") { + if ($row["dialplan_detail_tag"] != "condition") { echo " \n"; echo " \n"; if (strlen($row['dialplan_detail_uuid']) > 0) {