Skip to content

Commit

Permalink
[3.7.x] Fixes issues with the category article view after #11624 (#11943
Browse files Browse the repository at this point in the history
)

* Update category.php

* Update category.php
  • Loading branch information
zero-24 authored and wilsonge committed Sep 5, 2016
1 parent 60bc67b commit a62b2a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libraries/legacy/view/category.php
Original file line number Diff line number Diff line change
Expand Up @@ -112,12 +112,12 @@ public function commonCategoryDisplay()

// Get some data from the models
$model = $this->getModel();
$state = $model->get('State');
$paramsModel = $model->getState('params');

$paramsModel->set('check_access_rights', 0);
$model->setState('params', $paramsModel);


$state = $this->get('State');
$category = $this->get('Category');
$children = $this->get('Children');
$parent = $this->get('Parent');
Expand Down

0 comments on commit a62b2a7

Please sign in to comment.