Fixed notice level error

This commit is contained in:
Sam Minnee 2007-09-04 04:12:57 +00:00
parent 48918d1aca
commit 3ab4cb3780

View File

@ -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(