diff options
-rw-r--r-- | src/Wallabag/UserBundle/Repository/UserRepository.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Wallabag/UserBundle/Repository/UserRepository.php b/src/Wallabag/UserBundle/Repository/UserRepository.php index 178761e6..445edb3c 100644 --- a/src/Wallabag/UserBundle/Repository/UserRepository.php +++ b/src/Wallabag/UserBundle/Repository/UserRepository.php | |||
@@ -48,7 +48,7 @@ class UserRepository extends EntityRepository | |||
48 | { | 48 | { |
49 | return $this->createQueryBuilder('u') | 49 | return $this->createQueryBuilder('u') |
50 | ->select('count(u)') | 50 | ->select('count(u)') |
51 | ->andWhere('u.expired = 0') | 51 | ->andWhere('u.expired = false') |
52 | ->getQuery() | 52 | ->getQuery() |
53 | ->getSingleScalarResult(); | 53 | ->getSingleScalarResult(); |
54 | } | 54 | } |