diff --git a/administrator/components/com_tags/models/tags.php b/administrator/components/com_tags/models/tags.php index 3b9adeb144cbe..3cea0fba897bc 100644 --- a/administrator/components/com_tags/models/tags.php +++ b/administrator/components/com_tags/models/tags.php @@ -378,7 +378,7 @@ public function countItems(&$items, $extension) if (class_exists($cName) && is_callable(array($cName, 'countTagItems'))) { - call_user_func(array($cName, 'countTagItems'), $items, $extension); + $cName::countTagItems($items, $extension); } } }