diff --git a/components/com_content/tmpl/category/default.xml b/components/com_content/tmpl/category/default.xml index ff210b53a8dc6..ffd671b232cf1 100644 --- a/components/com_content/tmpl/category/default.xml +++ b/components/com_content/tmpl/category/default.xml @@ -147,7 +147,6 @@ label="JGLOBAL_SHOW_SUBCATEGORIES_IMAGE_LABEL" useglobal="true" class="form-select-color-state" - default="0" > diff --git a/components/com_content/tmpl/category/default_children.php b/components/com_content/tmpl/category/default_children.php index 8077f94cf65c6..e3ec5e7954cc2 100644 --- a/components/com_content/tmpl/category/default_children.php +++ b/components/com_content/tmpl/category/default_children.php @@ -26,7 +26,7 @@ children[$this->category->id] as $id => $child) : ?> access, $groups)) : ?> - params); ?> + getParams(); ?> params->get('show_empty_categories') || $child->getNumItems(true) || count($child->getChildren())) : ?>