Skip to content

Commit

Permalink
Fixed administration listener for ppm and Symfony3
Browse files Browse the repository at this point in the history
Also fixed content renderer for cached content
  • Loading branch information
marcj committed Apr 7, 2016
1 parent 2af692f commit eda26a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Controller/Plugin/News.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit eda26a5

Please sign in to comment.