From bb44863f9806843061c633c4816c5f47f76003a2 Mon Sep 17 00:00:00 2001 From: Michael Save Date: Fri, 13 Apr 2012 23:25:20 +1000 Subject: [PATCH] Bugfix: with editing boards --- mod.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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']) {