Skip to content

Commit

Permalink
revert last commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Juri Hahn committed Sep 29, 2018
1 parent 69ea8a2 commit 74746bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/com_content/controller.php
Expand Up @@ -108,7 +108,7 @@ public function display($cachable = false, $urlparams = false)
// Get/Create the model
if ($model = $this->getModel($vName))
{
if (ComponentHelper::getParams('com_content')->get('record_hits', 1) === 1)
if (ComponentHelper::getParams('com_content')->get('record_hits', 1) == 1)
{
$model->hit();
}
Expand Down

0 comments on commit 74746bd

Please sign in to comment.