From eda26a57f2d6482bf4c27c0de964177205026d37 Mon Sep 17 00:00:00 2001 From: "Marc J. Schmidt" Date: Thu, 7 Apr 2016 21:29:17 +0200 Subject: [PATCH] Fixed administration listener for ppm and Symfony3 Also fixed content renderer for cached content --- Controller/Plugin/News.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Controller/Plugin/News.php b/Controller/Plugin/News.php index ca0e531..90aed9d 100644 --- a/Controller/Plugin/News.php +++ b/Controller/Plugin/News.php @@ -107,8 +107,8 @@ public function detail(array $options, $slug) function () use ($slug, $options) { $item = NewsQuery::create() ->joinCategory() - ->leftJoinContent() - ->findOneBySlug($slug); + ->filterBySlug($slug) + ->findOne(); if (!$item) { return null;