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

fix(acl-react): update topology extract where clause from db #6898

Merged
merged 1 commit into from
Oct 24, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Centreon/Domain/Repository/TopologyRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ public function getReactTopologiesPerUserWithAcl($user)
if (count($topology)) {
$query3 = "SELECT topology_url "
. "FROM topology FORCE INDEX (`PRIMARY`) "
. "WHERE topology_page IS NOT NULL "
. "WHERE topology_url IS NOT NULL "
. "AND is_react = '1' "
. "AND topology_id IN (" . implode(', ', $topology) . ") ";
$DBRESULT3 = $this->db->query($query3);
Expand Down