diff options
Diffstat (limited to 'inc')
| -rw-r--r-- | inc/anti-bot.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/anti-bot.php b/inc/anti-bot.php index b5fcf2a1..4509505e 100644 --- a/inc/anti-bot.php +++ b/inc/anti-bot.php @@ -190,7 +190,7 @@ function _create_antibot($board, $thread) { $query->bindValue(':expires', $config['spam']['hidden_inputs_expire']); $query->execute() or error(db_error($query)); - $query = prepare('INSERT INTO `antispam` VALUES (:board, :thread, CRC32(:hash), UNIX_TIMESTAMP(), NULL, 0)'); + $query = prepare('INSERT INTO `antispam` VALUES (:board, :thread, :hash, UNIX_TIMESTAMP(), NULL, 0)'); $query->bindValue(':board', $board); $query->bindValue(':thread', $thread); $query->bindValue(':hash', $antibot->hash()); |
