mirror of
https://github.com/wallabag/wallabag.git
synced 2025-02-08 07:38:48 +01:00
Fix PostgreSQL query
PostgreSQL doesn’t like when we compare interger and boolean :)
This commit is contained in:
parent
876d77a67d
commit
3f60446756
@ -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…
x
Reference in New Issue
Block a user