Fixed searching for liked/disliked posts

This commit is contained in:
Marcin Kurczewski 2014-10-19 21:19:40 +02:00
parent 16e4a4a7e7
commit ea77a662ad

View file

@ -164,7 +164,7 @@ class PostDao extends AbstractDao implements ICrudDao
AND scores.score = ?)';
if ($requirement->isnegated())
$sql = 'NOT ' . $sql;
$query->where($sql, $userName, $score);
$query->where($sql, [$userName, $score]);
return;
}