Update destination_edit.php

This commit is contained in:
FusionPBX 2017-07-25 22:05:35 -06:00 committed by GitHub
parent b820d07f12
commit fbc6c79ee5
1 changed files with 1 additions and 1 deletions

View File

@ -353,7 +353,7 @@
$sql = "delete from v_dialplan_details ";
$sql .= "where dialplan_uuid = '".$dialplan_uuid."' ";
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>";
$db->exec(check_sql($sql));