src/Admin/MultisitesCmsMainExtension.php
public function updateCurrentPageID(&$id){
		if (!$id) {
			if($site = Multisites::inst()->getCurrentSite()){
				$id = $site->Children()->first();
			}
		}
	}
public function updateCurrentPageID(&$id){
		if (!$id) {
			if($site = Multisites::inst()->getCurrentSite()){
				$id = $site->Children()->first();
			}
		}
	}
public function updateCurrentPageID ( & $ id ) { if ( ! $ id ) { if ( $ site = Multisites :: inst ( ) -> getCurrentSite ( ) ) { $ id = $ site -> Children ( ) -> first ( ) ; } } }
Makes the default page id the first child of the current site
This makes the site tree view load with the current site open instead of just the first one
Makes the default page id the first child of the current site This makes the site tree view load with the current site open instead of just the first one