diff --git a/code/CMSSiteTreeFilter.php b/code/CMSSiteTreeFilter.php index d77bcc7b..73e793c6 100644 --- a/code/CMSSiteTreeFilter.php +++ b/code/CMSSiteTreeFilter.php @@ -27,7 +27,7 @@ abstract class CMSSiteTreeFilter extends Object { $this->populateIDs(); } - $leftAndMain = new LeftAndMain(); + $leftAndMain = new CMSMain(); $tree = $leftAndMain->getSiteTreeFor('SiteTree', isset($_REQUEST['ID']) ? $_REQUEST['ID'] : 0, null, null, array($this, 'includeInTree')); // Trim off the outer tag