Private GIT

Skip to content
Snippets Groups Projects
Commit 1b3c3a3c authored by qgarnier's avatar qgarnier Committed by Kev
Browse files

Fix error parsing

parent 7def2390
Branches
No related tags found
No related merge requests found
......@@ -547,7 +547,7 @@ if (!is_null($host_id)) {
$optionsURL = "host_name=" . urlencode($host_name) . "&service_description=" . urlencode($svc_description);
$query = "SELECT id FROM `index_data` WHERE host_name = '" . $pearDBO->escape($host_name) . "' AND service_description = '" . $pearDBO->escape($svc_description) . "' LIMIT 1"
$query = "SELECT id FROM `index_data` WHERE host_name = '" . $pearDBO->escape($host_name) . "' AND service_description = '" . $pearDBO->escape($svc_description) . "' LIMIT 1";
$DBRES = $pearDBO->query($query);
$index_data = 0;
if ($DBRES->rowCount()) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment