Fixed searching for liked/disliked posts
This commit is contained in:
parent
16e4a4a7e7
commit
ea77a662ad
1 changed files with 1 additions and 1 deletions
|
@ -164,7 +164,7 @@ class PostDao extends AbstractDao implements ICrudDao
|
||||||
AND scores.score = ?)';
|
AND scores.score = ?)';
|
||||||
if ($requirement->isnegated())
|
if ($requirement->isnegated())
|
||||||
$sql = 'NOT ' . $sql;
|
$sql = 'NOT ' . $sql;
|
||||||
$query->where($sql, $userName, $score);
|
$query->where($sql, [$userName, $score]);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue