Update poller.php

";" at the end of the query
This commit is contained in:
Sawachier 2016-04-21 11:46:32 +02:00
parent 2074b1d378
commit 1fb1f4473f

View File

@ -129,7 +129,7 @@ rrdtool_pipe_open($rrd_process, $rrd_pipes);
echo "Starting polling run:\n\n";
$polled_devices = 0;
if (!isset($query)) {
$query = "SELECT `device_id` FROM `devices` WHERE `disabled` = 0 $where ORDER BY `device_id` ASC";
$query = "SELECT `device_id` FROM `devices` WHERE `disabled` = 0 $where ORDER BY `device_id` ASC;";
}
foreach (dbFetch($query) as $device) {