summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Save <savetheinternet@tinyboard.org>2012-04-13 23:25:20 +1000
committerMichael Save <savetheinternet@tinyboard.org>2012-04-13 23:25:20 +1000
commitbb44863f9806843061c633c4816c5f47f76003a2 (patch)
treed7b85863db999c99060c55628429be9787201488
parentde953aa37acebfc7a2119ff65359fdc70cb03d19 (diff)
Bugfix: with editing boards
-rw-r--r--mod.php2
1 files changed, 1 insertions, 1 deletions
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']) {