Merge pull request #88 from adrexia/siteconfig

BUG: Subsite save SiteConfig overwrites MainSite SiteConfig (Issue #15)
This commit is contained in:
Sean Harvey 2013-05-25 16:49:24 -07:00
commit beb913d8d0

View File

@ -38,4 +38,8 @@ class SiteConfigSubsites extends DataExtension {
function cacheKeyComponent() {
return 'subsite-'.Subsite::currentSubsiteID();
}
function updateCMSFields(FieldList $fields) {
$fields->push(new HiddenField('SubsiteID','SubsiteID', Subsite::currentSubsiteID()));
}
}