From 6f4e8a65c30d815bef5f5d15dd0745f7463ec564 Mon Sep 17 00:00:00 2001 From: Mark Crane Date: Thu, 22 May 2014 06:44:35 +0000 Subject: [PATCH] More work on the domain select on the dialplan editor --- app/dialplan/dialplan_edit.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/dialplan/dialplan_edit.php b/app/dialplan/dialplan_edit.php index 98e0aa9e57..687be9b444 100644 --- a/app/dialplan/dialplan_edit.php +++ b/app/dialplan/dialplan_edit.php @@ -178,7 +178,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) { } //(count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) //pre-populate the form - if (count($_GET)>0 && $_POST["persistformvar"] != "true") { + if (count($_GET) > 0 && $_POST["persistformvar"] != "true") { $dialplan_uuid = $_GET["id"]; $orm = new orm; $orm->name('dialplans'); @@ -186,6 +186,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) { $result = $orm->find()->get(); //$message = $orm->message; foreach ($result as &$row) { + $domain_uuid = $row["domain_uuid"]; $app_uuid = $row["app_uuid"]; $dialplan_name = $row["dialplan_name"]; $dialplan_number = $row["dialplan_number"];