mirror of
https://github.com/joomla-extensions/weblinks.git
synced 2024-12-27 02:12:50 +00:00
Fix missing global option default
This commit is contained in:
parent
8bafcf32c1
commit
35e3f1f18a
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user