From c418e98acaa5344a2eb104be8236899e4771c90d Mon Sep 17 00:00:00 2001 From: Sebastian Grewe Date: Sat, 23 Nov 2013 20:37:19 +0100 Subject: [PATCH] [FIX] Idle Worker Notifiaction reset --- public/include/classes/notification.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/include/classes/notification.class.php b/public/include/classes/notification.class.php index 8489ef11..ddf59e9c 100644 --- a/public/include/classes/notification.class.php +++ b/public/include/classes/notification.class.php @@ -35,7 +35,7 @@ class Notification extends Mail { **/ public function getAllActive($strType) { $this->debug->append("STA " . __METHOD__, 4); - $stmt =$this->mysqli->prepare("SELECT id2, data FROM $this->table WHERE active = 1 AND type = ?"); + $stmt =$this->mysqli->prepare("SELECT id, data FROM $this->table WHERE active = 1 AND type = ?"); if ($stmt && $stmt->bind_param('s', $strType) && $stmt->execute() && $result = $stmt->get_result()) return $result->fetch_all(MYSQLI_ASSOC); return $this->sqlError('E0042');