From 95709e7588b9fb5a2e43049e0157cedc254b2536 Mon Sep 17 00:00:00 2001 From: Michael Save Date: Thu, 12 Apr 2012 23:23:47 +1000 Subject: Removed `board`.`id`. Use the board URI/name at the key instead. --- inc/filters.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'inc/filters.php') 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)); -- cgit v1.3