BUGFIX make siteconfig work again

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@99779 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Tom Rix 2010-02-24 02:00:06 +00:00 committed by Sam Minnee
parent a0c69ad63f
commit a11effb33a

View File

@ -478,7 +478,7 @@ JS;
return $form;
} if ($id == 0 || $id == 'root') {
$form = $this->RootForm();
return $this->RootForm();
} else if($id) {
return new Form($this, "EditForm", new FieldSet(
new LabelField('PageDoesntExistLabel',_t('CMSMain.PAGENOTEXISTS',"This page doesn't exist"))), new FieldSet());