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

Commit

Permalink
fix(clapi): export only acl menu children
Browse files Browse the repository at this point in the history
  • Loading branch information
loiclau authored Sep 20, 2017
1 parent 8b30f84 commit e55c935
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion www/class/centreon-clapi/centreonACLMenu.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,8 @@ private function grantMenu($aclTopoId, $aclTopoName)
$queryAclMenuRelations = 'SELECT t.topology_page, t.topology_id, t.topology_name, atr.access_right ' .
'FROM acl_topology_relations atr, topology t ' .
'WHERE atr.topology_topology_id = t.topology_id ' .
"AND atr.access_right <> '0'" .
"AND atr.access_right <> '0' " .
"AND LENGTH(t.topology_page) > 3 " .
'AND atr.acl_topo_id = ?';

$grantedTopologyList = $this->db->fetchAll($queryAclMenuRelations, array($aclTopoId));
Expand Down

0 comments on commit e55c935

Please sign in to comment.