Update destination_edit.php
This commit is contained in:
parent
76413de3f8
commit
c84fd7ebe4
|
|
@ -353,7 +353,7 @@
|
||||||
$sql = "delete from v_dialplan_details ";
|
$sql = "delete from v_dialplan_details ";
|
||||||
$sql .= "where dialplan_uuid = '".$dialplan_uuid."' ";
|
$sql .= "where dialplan_uuid = '".$dialplan_uuid."' ";
|
||||||
if (!permission_exists('destination_domain')) {
|
if (!permission_exists('destination_domain')) {
|
||||||
$sql .= "where (domain_uuid = '".$domain_uuid."' or domain_uuid is null) ";
|
$sql .= "and (domain_uuid = '".$domain_uuid."' or domain_uuid is null) ";
|
||||||
}
|
}
|
||||||
//echo $sql."<br><br>";
|
//echo $sql."<br><br>";
|
||||||
$db->exec(check_sql($sql));
|
$db->exec(check_sql($sql));
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue