Skip to content

Commit 9fd4264

Browse files
committed
Correct SQL Errors with Monitor polling
1 parent 6238f94 commit 9fd4264

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

poller_monitor.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ function monitor_uptime_checker() {
186186
FROM plugin_monitor_uptime AS mu
187187
LEFT JOIN host AS h
188188
ON h.id = mu.host_id
189-
WHERE h.id IS NULL)');
189+
WHERE h.id IS NULL');
190190
}
191191

192192
$removed_hosts = db_fetch_assoc('SELECT mu.host_id
@@ -200,7 +200,7 @@ function monitor_uptime_checker() {
200200
FROM plugin_monitor_reboot_history AS mu
201201
LEFT JOIN host AS h
202202
ON h.id = mu.host_id
203-
WHERE h.id IS NULL)');
203+
WHERE h.id IS NULL');
204204
}
205205

206206
// Get the rebooted devices

0 commit comments

Comments
 (0)