diff --git a/mod.php b/mod.php index f5332175..35c1e32c 100644 --- a/mod.php +++ b/mod.php @@ -1714,7 +1714,7 @@ if(!$mod) { else $query->bindValue(':subtitle', null, PDO::PARAM_NULL); - $query->bindValue(':id', $board['uri'], PDO::PARAM_INT); + $query->bindValue(':uri', $board['uri'], PDO::PARAM_INT); $query->execute() or error(db_error($query)); if($config['cache']['enabled']) {