diff --git a/code/extensions/LeftAndMainSubsites.php b/code/extensions/LeftAndMainSubsites.php index b9079798..9b468551 100644 --- a/code/extensions/LeftAndMainSubsites.php +++ b/code/extensions/LeftAndMainSubsites.php @@ -149,7 +149,7 @@ public function alternateAccessCheck() { Subsite::changeSubsite($siteIDs[0]); $cClass = $candidate->controller; $cObj = new $cClass(); - Director::redirect($cObj->Link()); + $this->owner->redirect($cObj->Link()); return null; } }