Micro fix.
This commit is contained in:
parent
0242463739
commit
f19efe8ca1
|
@ -24,7 +24,7 @@ class MainController extends Controller
|
||||||
// Service subscribers count
|
// Service subscribers count
|
||||||
$subscribersCount = $qb
|
$subscribersCount = $qb
|
||||||
->select('COUNT(s)')
|
->select('COUNT(s)')
|
||||||
->join('s.author', 'a')
|
->innerJoin('s.author', 'a')
|
||||||
->where('a.login = :login')
|
->where('a.login = :login')
|
||||||
->setParameter('login', $this->container->getParameter('point_login'))
|
->setParameter('login', $this->container->getParameter('point_login'))
|
||||||
->getQuery()->getSingleScalarResult()
|
->getQuery()->getSingleScalarResult()
|
||||||
|
|
Loading…
Reference in a new issue