1
0
mirror of synced 2025-01-25 01:31:41 +03:00

Merge pull request #11 from pm14kas/fix-entity-manager-in-commands

Fixed typo in AccountManager
This commit is contained in:
Kruglov Kirill 2020-11-17 15:08:32 +03:00 committed by GitHub
commit 88bed1d52e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -56,8 +56,8 @@ class AccountManager
public function getActiveQueryBuilder()
{
return $this->getRepository()->createQueryBuilder('account')
->where('account.isActive IS TRUE')
->andWhere('account.isFreeze IS NOT TRUE')
->where('account.active = true')
->andWhere('account.freeze != true')
->orderBy('account.id')
;
}