diff --git a/app/gateways/gateways.php b/app/gateways/gateways.php index d1d8ed4474..fc6ef4e764 100644 --- a/app/gateways/gateways.php +++ b/app/gateways/gateways.php @@ -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 .= ");";