diff --git a/libraries/legacy/view/category.php b/libraries/legacy/view/category.php index 7a80a2a8974af..3ed4a0d7e9b46 100644 --- a/libraries/legacy/view/category.php +++ b/libraries/legacy/view/category.php @@ -156,7 +156,7 @@ public function commonCategoryDisplay() $dispatcher = JEventDispatcher::getInstance(); JPluginHelper::importPlugin('content'); - $dispatcher->trigger('onContentPrepare', array ('com_contact.category', &$itemElement, &$itemElement->params, 0)); + $dispatcher->trigger('onContentPrepare', array ($this->extension . '.category', &$itemElement, &$itemElement->params, 0)); $results = $dispatcher->trigger('onContentAfterTitle', array($this->extension . '.category', &$itemElement, &$itemElement->core_params, 0)); $itemElement->event->afterDisplayTitle = trim(implode("\n", $results));