From 99fa2f7cda5c8c912ef9e2779c2d75c7d45658c9 Mon Sep 17 00:00:00 2001 From: Michael Foster Date: Tue, 10 Sep 2013 03:54:23 +1000 Subject: [PATCH] Bugfix: SQL error, issue #141 --- inc/filters.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/filters.php b/inc/filters.php index d5353afb..aa6f9025 100644 --- a/inc/filters.php +++ b/inc/filters.php @@ -207,7 +207,7 @@ function purge_flood_table() { $time = time() - $max_time; - query("DELETE FROM ``flood`` WHERE ``time`` < $time") or error(db_error()); + query("DELETE FROM ``flood`` WHERE `time` < $time") or error(db_error()); } function do_filters(array $post) {