Skip to content
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.

Commit

Permalink
fix coding style
Browse files Browse the repository at this point in the history
  • Loading branch information
lpinsivy authored and ganoze committed Sep 29, 2017
1 parent 326d727 commit 3e04f5e
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -126,13 +126,13 @@
"AND h.enabled = 1 " .
"AND s.enabled = 1 " .
"AND i.instance_id = h.instance_id " .
"AND h.host_id = s.host_id ".
"AND h.host_id = s.host_id " .
"AND (h.name NOT LIKE '_Module_%' OR h.name LIKE '_Module_Meta%') ";
if (!$obj->is_admin) {
$query_svc_status .= "AND s.service_id IN ( " .
"SELECT DISTINCT service_id " .
"FROM centreon_acl ".
"WHERE centreon_acl.group_id IN (".$obj->grouplistStr.")) ";
"FROM centreon_acl " .
"WHERE centreon_acl.group_id IN (" . $obj->grouplistStr . ")) ";
}
$DBRESULT = $obj->DBC->query($query_svc_status);
$svc_stat = array_map("myDecode", $DBRESULT->fetchRow());
Expand Down

0 comments on commit 3e04f5e

Please sign in to comment.