Skip to content

Commit

Permalink
EventDetail: Get object url directly from object table
Browse files Browse the repository at this point in the history
  • Loading branch information
raviks789 authored and yhabteab committed Sep 21, 2023
1 parent 21841d7 commit dd923fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/Notifications/Widget/Detail/EventDetail.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ protected function createRelatedObject(): array
{
//TODO(sd): This is just placeholder. Add hook implementation instead
$relatedObj = Html::tag('ul', ['class' => ['item-list', 'action-list'], 'data-base-target' => '_next']);
$obj = new Link($this->event->object->host, $this->event->source_object->url, ['class' => 'subject']);
$obj = new Link($this->event->object->host, $this->event->object->url, ['class' => 'subject']);

if ($this->event->object->service) {
$obj = Html::sprintf(
Expand Down

0 comments on commit dd923fb

Please sign in to comment.