summaryrefslogtreecommitdiff
path: root/inc/filters.php
diff options
context:
space:
mode:
authorMichael Foster <savetheinternet@tinyboard.org>2013-07-18 10:17:19 -0400
committerMichael Foster <savetheinternet@tinyboard.org>2013-07-18 10:17:19 -0400
commitce9431ba34e6f4212ac264827d9bbcac38bb0665 (patch)
treec42c67458dff756f8f11dcac5b8aa238014e17a9 /inc/filters.php
parent7e95e80c25e2f35b8a49ebd73f95671b0233be6f (diff)
Update filters to work with new ban table
Diffstat (limited to 'inc/filters.php')
-rw-r--r--inc/filters.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/filters.php b/inc/filters.php
index 0b5eb3c1..524d37cf 100644
--- a/inc/filters.php
+++ b/inc/filters.php
@@ -81,7 +81,7 @@ class Filter {
else
$all_boards = false;
- $query = prepare("INSERT INTO `bans` VALUES (NULL, :ip, :mod, :set, :expires, :reason, :board)");
+ $query = prepare("INSERT INTO `bans` VALUES (NULL, :ip, :mod, :set, :expires, :reason, :board, 0)");
$query->bindValue(':ip', $_SERVER['REMOTE_ADDR']);
$query->bindValue(':mod', -1);
$query->bindValue(':set', time());