Merge pull request #5553 from PBXForums/master
Update dialplan_outbound_add.php
This commit is contained in:
@@ -729,7 +729,7 @@
|
|||||||
$sql = "select * from v_gateways ";
|
$sql = "select * from v_gateways ";
|
||||||
$sql .= "where enabled = 'true' ";
|
$sql .= "where enabled = 'true' ";
|
||||||
if (permission_exists('outbound_route_any_gateway')) {
|
if (permission_exists('outbound_route_any_gateway')) {
|
||||||
$sql .= "order by domain_uuid, gateway ";
|
$sql .= "order by domain_uuid = '$domain_uuid' DESC, gateway ";
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
$sql .= "and domain_uuid = :domain_uuid ";
|
$sql .= "and domain_uuid = :domain_uuid ";
|
||||||
|
|||||||
Reference in New Issue
Block a user