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(); }