diff --git a/src/Dao/PostDao.php b/src/Dao/PostDao.php index 6e5378b0..70ff3d39 100644 --- a/src/Dao/PostDao.php +++ b/src/Dao/PostDao.php @@ -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; }