Skip to content

Commit

Permalink
FIX #606, get correct URL for categories if Blog is on /home
Browse files Browse the repository at this point in the history
  • Loading branch information
lerni committed Jan 24, 2025
1 parent f168f1e commit e1cb974
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/Model/BlogObject.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,11 +82,10 @@ public function validate()
*/
public function getLink()
{
return Controller::join_links(
$this->Blog()->Link(),
return $this->Blog()->Link(Controller::join_links(
$this->getListUrlSegment(),
$this->URLSegment
);
));
}

/**
Expand Down

0 comments on commit e1cb974

Please sign in to comment.