summaryrefslogtreecommitdiff
path: root/inc/filters.php
diff options
context:
space:
mode:
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));