Skip to content

Commit

Permalink
Merge pull request #37 from NGlasl/master
Browse files Browse the repository at this point in the history
URLs are coming through incorrectly when linking pages from another site...
  • Loading branch information
sheadawson committed Jul 18, 2014
2 parents a154e9d + 1f967ee commit 4ce57c1
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 4ce57c1

Please sign in to comment.