Skip to content

Commit

Permalink
Send correct id
Browse files Browse the repository at this point in the history
  • Loading branch information
Septdir committed Apr 24, 2018
1 parent 88f8e6a commit 3100004
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions components/com_content/helpers/association.php
Expand Up @@ -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);
}
}

Expand Down

0 comments on commit 3100004

Please sign in to comment.