diff --git a/administrator/components/com_content/config.xml b/administrator/components/com_content/config.xml index 8d14f89aa7c15..d8a8cf46c36fe 100644 --- a/administrator/components/com_content/config.xml +++ b/administrator/components/com_content/config.xml @@ -350,6 +350,18 @@ + + + + + getModel($vName)) { - $model->hit(); + if (ComponentHelper::getParams('com_content')->get('record_hits', 1) == 1) + { + $model->hit(); + } } }