mirror of
https://github.com/silverstripe/silverstripe-subsites
synced 2024-10-22 11:05:55 +02:00
BUGFIX: Fixed retarded syntax error
This commit is contained in:
parent
54acfa51c1
commit
0d3cdcf7b4
@ -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','.', Array::valuekey($this->stat('allowed_domains')), $this->Domain)
|
||||
new DropdownField('Domain','.', ArrayLib::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