Micro fix.

This commit is contained in:
Alexey Skobkin 2015-05-31 08:33:48 +03:00
parent 0242463739
commit f19efe8ca1

View file

@ -24,7 +24,7 @@ class MainController extends Controller
// Service subscribers count
$subscribersCount = $qb
->select('COUNT(s)')
->join('s.author', 'a')
->innerJoin('s.author', 'a')
->where('a.login = :login')
->setParameter('login', $this->container->getParameter('point_login'))
->getQuery()->getSingleScalarResult()