BUGFIX: reintroduced 96961, build failed for other reason.

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@96977 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Mateusz Uzdowski 2010-01-14 23:10:12 +00:00 committed by Sam Minnee
parent ed388aef11
commit 51ad525b69

View File

@ -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