diff --git a/components/com_content/views/category/tmpl/blog_children.php b/components/com_content/views/category/tmpl/blog_children.php index c68fdb575a7cb..645704e9a7746 100644 --- a/components/com_content/views/category/tmpl/blog_children.php +++ b/components/com_content/views/category/tmpl/blog_children.php @@ -11,71 +11,75 @@ JHtml::_('bootstrap.tooltip'); -$class = ' class="first"'; -$lang = JFactory::getLanguage(); +$class = ' class="first"'; +$lang = JFactory::getLanguage(); +$user = JFactory::getUser(); +$groups = $user->getAuthorisedViewLevels(); if ($this->maxLevel != 0 && count($this->children[$this->category->id]) > 0) : ?> children[$this->category->id] as $id => $child) : ?> - params->get('show_empty_categories') || $child->numitems || count($child->getChildren())) : - if (!isset($this->children[$this->category->id][$id + 1])) : - $class = ' class="last"'; - endif; - ?> -