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 // 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()