From 1f967eeada8ca305f2f5a522e901a972ceb7f4ac Mon Sep 17 00:00:00 2001 From: Nathan Glasl Date: Fri, 18 Jul 2014 15:14:03 +1000 Subject: [PATCH] URLs are coming through incorrectly when linking pages from another site instance. --- code/pages/Site.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/pages/Site.php b/code/pages/Site.php index cacf5b2..23629d0 100644 --- a/code/pages/Site.php +++ b/code/pages/Site.php @@ -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); } }