mirror of
https://github.com/silverstripe/silverstripe-subsites
synced 2024-10-22 11:05:55 +02:00
Fixed notice level error
This commit is contained in:
parent
48918d1aca
commit
3ab4cb3780
@ -56,6 +56,8 @@ class SubsiteAdmin extends GenericDataAdmin {
|
|||||||
|
|
||||||
if($templates) {
|
if($templates) {
|
||||||
$templateArray = $templates->map('ID', 'Title');
|
$templateArray = $templates->map('ID', 'Title');
|
||||||
|
} else {
|
||||||
|
$templateArray = array();
|
||||||
}
|
}
|
||||||
|
|
||||||
return new Form($this, 'AddSubsiteForm', new FieldSet(
|
return new Form($this, 'AddSubsiteForm', new FieldSet(
|
||||||
|
Loading…
Reference in New Issue
Block a user