phpBB : Critical Error

Error deleting old sessions


SQL Error : 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-2' at line 1

DELETE FROM phpbb_sessions WHERE session_ip = '12d45ceb' ORDER BY session_start ASC LIMIT -2

Line : 213
File : sessions.php