Fixed typo in NewsController

Signed-off-by: Gergely Polonkai <polesz@w00d5t0ck.info>
This commit is contained in:
Polonkai Gergely 2012-08-29 20:59:39 +02:00
parent faf99b627e
commit f8ae647716

View File

@ -25,7 +25,7 @@ class NewsController extends Controller
{
$newsRepo = $this->getDoctrine()->getRepository('KekRozsakFrontBundle:News');
$searchCriteria = array(
'draft' => false;
'draft' => false,
);
if (
!is_object($this->get('security.context')->getToken())