mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
BUGFIX: loading a subtree was failing - couldn't call getSiteTreeFor reliably on LeftAndMain which is abstract class in its nature. Now using valid subclass instead.
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@96961 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
8b082d3bed
commit
e81b978ecf
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user