summaryrefslogtreecommitdiff
path: root/inc/filters.php
diff options
context:
space:
mode:
authorMichael Save <savetheinternet@tinyboard.org>2012-04-12 23:23:47 +1000
committerMichael Save <savetheinternet@tinyboard.org>2012-04-12 23:23:47 +1000
commit95709e7588b9fb5a2e43049e0157cedc254b2536 (patch)
treee7732391f27c6789b00de0dad9b1b98d4d2d0b66 /inc/filters.php
parentc39c54c2c2764596863e43a6d6ee4b07b52af327 (diff)
Removed `board`.`id`. Use the board URI/name at the key instead.
Diffstat (limited to 'inc/filters.php')
-rw-r--r--inc/filters.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/filters.php b/inc/filters.php
index b3a0ca43..68e948c9 100644
--- a/inc/filters.php
+++ b/inc/filters.php
@@ -100,7 +100,7 @@ class Filter {
if($all_boards)
$query->bindValue(':board', null, PDO::PARAM_NULL);
else
- $query->bindValue(':board', $board['id']);
+ $query->bindValue(':board', $board['uri']);
$query->execute() or error(db_error($query));