From 211c6485a891fc24d3f5d43618557e20c856c350 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20D=C3=BCsterhus?= Date: Fri, 27 Apr 2012 20:00:42 +0200 Subject: [PATCH] Fixing the algorithm change --- file/lib/util/ChatUtil.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/file/lib/util/ChatUtil.class.php b/file/lib/util/ChatUtil.class.php index db96659..72ac950 100644 --- a/file/lib/util/ChatUtil.class.php +++ b/file/lib/util/ChatUtil.class.php @@ -52,7 +52,7 @@ public static function getDiedUsers() { wcf".WCF_N."_chat_message ORDER BY messageID DESC"; - $stmt = WCF::getDB()->prepareStatement($sql, 1); + $stmt = WCF::getDB()->prepareStatement($sql, 1, 1); $stmt->execute(); $time = $stmt->fetchColumn(); }