diff options
| author | Michael Save <savetheinternet@tinyboard.org> | 2012-04-19 01:32:02 +1000 |
|---|---|---|
| committer | Michael Save <savetheinternet@tinyboard.org> | 2012-04-19 01:33:53 +1000 |
| commit | de347f03875f083e5ab44787387f0507fd453a8c (patch) | |
| tree | 7a9e0deaf1e5a6d6b1edbf7099c9e4add4728cbb /inc/anti-bot.php | |
| parent | a340c5b6eec89d0e023fc606081ec857f44a0b3d (diff) | |
don't use CRC32
Diffstat (limited to 'inc/anti-bot.php')
| -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()); |
