diff --git a/include/classes/worker.class.php b/include/classes/worker.class.php index 1d486d4f..f2236b04 100644 --- a/include/classes/worker.class.php +++ b/include/classes/worker.class.php @@ -98,7 +98,7 @@ class Worker extends Base { **/ public function getWorker($id, $interval=600) { $this->debug->append("STA " . __METHOD__, 4); - $stmt = $this->mysqli->prepare($q =" + $stmt = $this->mysqli->prepare(" SELECT id, username, password, monitor, ( SELECT COUNT(id) FROM " . $this->share->getTableName() . " WHERE our_result = 'Y' AND username = w.username AND time > DATE_SUB(now(), INTERVAL ? SECOND)