summaryrefslogtreecommitdiff
path: root/inc
diff options
context:
space:
mode:
authorMichael Foster <savetheinternet@tinyboard.org>2013-09-07 00:04:22 +1000
committerMichael Foster <savetheinternet@tinyboard.org>2013-09-07 00:04:22 +1000
commitecda7abe92cf38ecb3ccf55ea6ea7a6bbfadac33 (patch)
tree3881fe5d26bb1a333352076ce75098239f89deae /inc
parent33737fd7233ed4b7d99a5f8a783f9c5da0338f8c (diff)
bugfix lol
Diffstat (limited to 'inc')
-rw-r--r--inc/functions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/functions.php b/inc/functions.php
index a6963c91..df3a4eeb 100644
--- a/inc/functions.php
+++ b/inc/functions.php
@@ -768,7 +768,7 @@ function insertFloodPost(array $post) {
$query->bindValue(':filehash', $post['filehash']);
else
$query->bindValue(':filehash', null, PDO::PARAM_NULL);
- $query->bindValue(':isreply', !$post['op']);
+ $query->bindValue(':isreply', !$post['op'], PDO::PARAM_INT);
$query->execute() or error(db_error($query));
}