mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Update gateways.php
Add missing brackets.
This commit is contained in:
@@ -103,7 +103,7 @@ else {
|
||||
//get total gateway count from the database
|
||||
$sql = "select count(*) as num_rows from v_gateways ";
|
||||
$sql .= "where ( domain_uuid = '".$_SESSION['domain_uuid']."' ";
|
||||
if (permission_exists('gateway_domain') {
|
||||
if (permission_exists('gateway_domain')) {
|
||||
$sql .= "or domain_uuid is null ";
|
||||
}
|
||||
$sql .= ");";
|
||||
@@ -126,7 +126,7 @@ else {
|
||||
//get the list
|
||||
$sql = "select * from v_gateways ";
|
||||
$sql .= "where ( domain_uuid = '".$_SESSION['domain_uuid']."' ";
|
||||
if (permission_exists('gateway_domain') {
|
||||
if (permission_exists('gateway_domain')) {
|
||||
$sql .= "or domain_uuid is null ";
|
||||
}
|
||||
$sql .= ");";
|
||||
|
||||
Reference in New Issue
Block a user