Skip to content

Commit

Permalink
URLs are coming through incorrectly when linking pages from another s…
Browse files Browse the repository at this point in the history
…ite instance.
  • Loading branch information
Nathan Glasl committed Jul 18, 2014
1 parent a154e9d commit 1f967ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/pages/Site.php
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ public function RelativeLink($action = null) {
if($this->ID && $this->ID == Multisites::inst()->getCurrentSiteId()) {
return $action;
} else {
return Controller::join_links($this->getUrl(), Director::baseURL(), $action);
return Controller::join_links($this->getUrl(), $action);
}
}

Expand Down

0 comments on commit 1f967ee

Please sign in to comment.