Skip to content

Commit

Permalink
Ticket #4087 - Group based modules: Incorrect link in Timeline card.
Browse files Browse the repository at this point in the history
  • Loading branch information
AntonLV committed Oct 13, 2022
1 parent 72a737b commit 8d4fa21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/base/groups/classes/BxBaseModGroupsModule.php
Expand Up @@ -1206,7 +1206,7 @@ public function serviceGetTimelinePost($aEvent, $aBrowseParams = array())
return false;

$oGroupProfile = BxDolProfile::getInstanceByContentAndType($aEvent['object_id'], $this->getName());
$a['content']['url'] = str_replace(BX_DOL_URL_ROOT, '{bx_url_root}', $oGroupProfile->getUrl());
$a['content']['url'] = $oGroupProfile->getUrl();
$a['content']['title'] = $oGroupProfile->getDisplayName();

if(isset($CNF['FIELD_PUBLISHED'])) {
Expand Down

0 comments on commit 8d4fa21

Please sign in to comment.