Fixed notice level error
This commit is contained in:
parent
48918d1aca
commit
3ab4cb3780
|
@ -56,6 +56,8 @@ class SubsiteAdmin extends GenericDataAdmin {
|
|||
|
||||
if($templates) {
|
||||
$templateArray = $templates->map('ID', 'Title');
|
||||
} else {
|
||||
$templateArray = array();
|
||||
}
|
||||
|
||||
return new Form($this, 'AddSubsiteForm', new FieldSet(
|
||||
|
|
Loading…
Reference in New Issue