From ecda7abe92cf38ecb3ccf55ea6ea7a6bbfadac33 Mon Sep 17 00:00:00 2001 From: Michael Foster Date: Sat, 7 Sep 2013 00:04:22 +1000 Subject: [PATCH] bugfix lol --- inc/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); }