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

Commit

Permalink
enh(BE): replace LIKE with equal
Browse files Browse the repository at this point in the history
  • Loading branch information
sc979 committed Nov 6, 2019
1 parent dd7fc85 commit 77c58d8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions www/include/monitoring/status/Services/xml/serviceXML.php
Original file line number Diff line number Diff line change
Expand Up @@ -261,8 +261,7 @@
// ServiceGroup Filter
if (isset($servicegroups) && $servicegroups != 0) {
$request .= " AND ssg.servicegroup_id = sg.servicegroup_id
AND ssg.service_id = s.service_id AND ssg.servicegroup_id IN (:serviceGroup) ";
// only one value is returned from the current "select" filter
AND ssg.service_id = s.service_id AND ssg.servicegroup_id IN = :serviceGroup ";
$queryValues['serviceGroup'] = [\PDO::PARAM_INT => $servicegroups];
}

Expand Down

0 comments on commit 77c58d8

Please sign in to comment.