diff options
| author | Michael Foster <savetheinternet@tinyboard.org> | 2013-09-07 00:04:22 +1000 |
|---|---|---|
| committer | Michael Foster <savetheinternet@tinyboard.org> | 2013-09-07 00:04:22 +1000 |
| commit | ecda7abe92cf38ecb3ccf55ea6ea7a6bbfadac33 (patch) | |
| tree | 3881fe5d26bb1a333352076ce75098239f89deae /inc | |
| parent | 33737fd7233ed4b7d99a5f8a783f9c5da0338f8c (diff) | |
bugfix lol
Diffstat (limited to 'inc')
| -rw-r--r-- | inc/functions.php | 2 |
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)); } |
