Fixed typo in NewsController
Signed-off-by: Gergely Polonkai <polesz@w00d5t0ck.info>
This commit is contained in:
parent
faf99b627e
commit
f8ae647716
@ -25,7 +25,7 @@ class NewsController extends Controller
|
|||||||
{
|
{
|
||||||
$newsRepo = $this->getDoctrine()->getRepository('KekRozsakFrontBundle:News');
|
$newsRepo = $this->getDoctrine()->getRepository('KekRozsakFrontBundle:News');
|
||||||
$searchCriteria = array(
|
$searchCriteria = array(
|
||||||
'draft' => false;
|
'draft' => false,
|
||||||
);
|
);
|
||||||
if (
|
if (
|
||||||
!is_object($this->get('security.context')->getToken())
|
!is_object($this->get('security.context')->getToken())
|
||||||
|
Loading…
Reference in New Issue
Block a user