diff --git a/src/com_weblinks/site/views/category/view.html.php b/src/com_weblinks/site/views/category/view.html.php index fdb9555..2b16d2c 100644 --- a/src/com_weblinks/site/views/category/view.html.php +++ b/src/com_weblinks/site/views/category/view.html.php @@ -33,7 +33,7 @@ class WeblinksViewCategory extends JViewCategory { $item->slug = $item->alias ? ($item->id . ':' . $item->alias) : $item->id; - if ($item->params->get('count_clicks', $this->params->get('count_clicks')) == 1) + if ($item->params->get('count_clicks', $this->params->get('count_clicks', 1)) == 1) { $item->link = JRoute::_('index.php?option=com_weblinks&task=weblink.go&id=' . $item->id); }