Removed board.id. Use the board URI/name at the key instead.

This commit is contained in:
Michael Save
2012-04-12 23:23:47 +10:00
parent c39c54c2c2
commit 95709e7588
8 changed files with 117 additions and 98 deletions

View File

@@ -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));