mirror of
https://github.com/wallabag/wallabag.git
synced 2025-03-13 22:52:39 +00:00
Fix PostgreSQL query
PostgreSQL doesn’t like when we compare interger and boolean :)
This commit is contained in:
parent
876d77a67d
commit
3f60446756
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ class UserRepository extends EntityRepository
|
|||
{
|
||||
return $this->createQueryBuilder('u')
|
||||
->select('count(u)')
|
||||
->andWhere('u.expired = 0')
|
||||
->andWhere('u.expired = false')
|
||||
->getQuery()
|
||||
->getSingleScalarResult();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue