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

Commit

Permalink
remove obsolete code in legacy service detail page and query sanitizeÃ
Browse files Browse the repository at this point in the history
  • Loading branch information
emabassi-ext committed Sep 26, 2022
1 parent eacfca6 commit bd7d23a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions www/include/monitoring/objectDetails/serviceDetails.php
Original file line number Diff line number Diff line change
Expand Up @@ -620,8 +620,8 @@
}

$query = "SELECT id FROM `index_data`, `metrics` WHERE host_name = :host_name" .
" AND service_description = :svc_description AND id = index_id LIMIT 1";
$statement = $pearDB->prepare($query);
" AND service_description = :svc_description AND id = index_id LIMIT 1";
$statement = $pearDBO->prepare($query);
$statement->bindValue(':host_name', $host_name, \PDO::PARAM_STR);
$statement->bindValue(':svc_description', $svc_description, \PDO::PARAM_STR);
$statement->execute();
Expand Down

0 comments on commit bd7d23a

Please sign in to comment.