]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - src/Wallabag/UserBundle/Repository/UserRepository.php
Fix PostgreSQL query
[github/wallabag/wallabag.git] / src / Wallabag / UserBundle / Repository / UserRepository.php
index 178761e6da32ff4e3f758290f5d72c8688890946..445edb3c1077cb2826e2937cb7fccdff2ae4e2be 100644 (file)
@@ -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();
     }