mirror of
https://github.com/silverstripe/silverstripe-subsites
synced 2024-10-22 11:05:55 +02:00
This commit is contained in:
parent
272cdd444a
commit
3a72dc847c
@ -119,6 +119,10 @@ class LeftAndMainSubsites extends Extension {
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
function augmentNewSiteTreeItem(&$item) {
|
||||
$item->SubsiteID = Subsite::currentSubsiteID();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user