Update time_condition_edit.php
This commit is contained in:
parent
b78cae097d
commit
018fd4d305
|
|
@ -548,11 +548,11 @@
|
||||||
$p->add("dialplan_detail_edit", 'temp');
|
$p->add("dialplan_detail_edit", 'temp');
|
||||||
|
|
||||||
//get main dialplan entry
|
//get main dialplan entry
|
||||||
$orm = new orm;
|
$sql = "select * from v_dialplans ";
|
||||||
$orm->name('dialplans');
|
$sql .= "where dialplan_uuid = '".$dialplan_uuid."' ";
|
||||||
$orm->uuid($dialplan_uuid);
|
$prep_statement = $db->prepare(check_sql($sql));
|
||||||
$result = $orm->find()->get();
|
$prep_statement->execute();
|
||||||
//$message = $orm->message;
|
$result = $prep_statement->fetchAll(PDO::FETCH_NAMED);
|
||||||
if (is_array($result)) {
|
if (is_array($result)) {
|
||||||
foreach ($result as &$row) {
|
foreach ($result as &$row) {
|
||||||
$domain_uuid = $row["domain_uuid"];
|
$domain_uuid = $row["domain_uuid"];
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue