From 35e3f1f18acfe2540ac883e31b3db3fb6b6f89ba Mon Sep 17 00:00:00 2001 From: Francesco Abeni Date: Sun, 1 Nov 2015 10:42:34 +0100 Subject: [PATCH] Fix missing global option default --- src/com_weblinks/site/views/category/view.html.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }