diff --git a/code/LeftAndMain.php b/code/LeftAndMain.php index c697dca2..4924be45 100644 --- a/code/LeftAndMain.php +++ b/code/LeftAndMain.php @@ -116,7 +116,7 @@ abstract class LeftAndMain extends Controller { public function show($params) { if($params['ID']) $this->setCurrentPageID($params['ID']); - if($params['OtherID']) + if(isset($params['OtherID'])) Session::set('currentMember', $params['OtherID']); if(Director::is_ajax()) {