mirror of
https://github.com/silverstripe/silverstripe-subsites
synced 2024-10-22 11:05:55 +02:00
Fixed domain dropdown generation
This commit is contained in:
parent
4957e69a03
commit
54acfa51c1
@ -82,7 +82,7 @@ class Subsite extends DataObject implements PermissionProvider {
|
||||
new TextField('Title', 'Name of subsite:', $this->Title),
|
||||
new FieldGroup('URL',
|
||||
new TextField('Subdomain',"", $this->Subdomain),
|
||||
new DropdownField('Domain','.', $this->stat('allowed_domains'), $this->Domain)
|
||||
new DropdownField('Domain','.', Array::valuekey($this->stat('allowed_domains')), $this->Domain)
|
||||
),
|
||||
// new TextField('RedirectURL', 'Redirect to URL', $this->RedirectURL),
|
||||
new CheckboxField('DefaultSite', 'Use this subsite as the default site', $this->DefaultSite),
|
||||
|
Loading…
Reference in New Issue
Block a user