diff --git a/components/com_content/helpers/association.php b/components/com_content/helpers/association.php index c5b536c3b936e..a19ac24897816 100644 --- a/components/com_content/helpers/association.php +++ b/components/com_content/helpers/association.php @@ -36,7 +36,7 @@ public static function getAssociations($id = 0, $view = null) $view = $view === null ? $jinput->get('view') : $view; $id = empty($id) ? $jinput->getInt('id') : $id; - if ($view === 'article' || $view === 'category' || $view === 'featured') + if ($view === 'article') { if ($id) { @@ -74,7 +74,7 @@ public static function displayAssociations($id) { $return = array(); - if ($associations = self::getAssociations($id)) + if ($associations = self::getAssociations($id, 'article')) { $levels = JFactory::getUser()->getAuthorisedViewLevels(); $languages = JLanguageHelper::getLanguages();