From 6875749f15650784ba3b6816e5a08af7480ef96d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Blon=C4=8F=C3=A1k?= Date: Wed, 13 Sep 2017 18:28:48 +0200 Subject: [PATCH] TYPO - remove unused variable --- include/classes/worker.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)