diff --git a/components/com_content/helpers/association.php b/components/com_content/helpers/association.php index e16c087d4ae1f..ea424be00d5bf 100644 --- a/components/com_content/helpers/association.php +++ b/components/com_content/helpers/association.php @@ -50,10 +50,7 @@ public static function getAssociations($id = 0, $view = null, $layout = null) { if ($item->language != JFactory::getLanguage()->getTag()) { - $arrId = explode(':', $item->id); - $assocId = $arrId[0]; - - $return[$tag] = ContentHelperRoute::getArticleRoute($assocId, (int) $item->catid, $item->language, $layout); + $return[$tag] = ContentHelperRoute::getArticleRoute($item->id, (int) $item->catid, $item->language, $layout); } }