diff --git a/file/lib/util/ChatUtil.class.php b/file/lib/util/ChatUtil.class.php index 72ac950..7d590e6 100644 --- a/file/lib/util/ChatUtil.class.php +++ b/file/lib/util/ChatUtil.class.php @@ -50,10 +50,12 @@ public static function getDiedUsers() { time FROM wcf".WCF_N."_chat_message + WHERE + time < ? ORDER BY messageID DESC"; $stmt = WCF::getDB()->prepareStatement($sql, 1, 1); - $stmt->execute(); + $stmt->execute(array(TIME_NOW - 10)); $time = $stmt->fetchColumn(); } else {