From f19efe8ca1aaccbe823f3d5cefda9860b8b7fe2d Mon Sep 17 00:00:00 2001 From: Alexey Skobkin Date: Sun, 31 May 2015 08:33:48 +0300 Subject: [PATCH] Micro fix. --- .../Bundle/PointToolsBundle/Controller/MainController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Skobkin/Bundle/PointToolsBundle/Controller/MainController.php b/src/Skobkin/Bundle/PointToolsBundle/Controller/MainController.php index 5c5259a..876a6d4 100644 --- a/src/Skobkin/Bundle/PointToolsBundle/Controller/MainController.php +++ b/src/Skobkin/Bundle/PointToolsBundle/Controller/MainController.php @@ -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()