mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
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:
parent
a0c69ad63f
commit
a11effb33a
@ -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());
|
||||
@ -499,7 +499,7 @@ JS;
|
||||
$form->loadDataFrom($siteConfig);
|
||||
|
||||
$this->extend('updateEditForm', $form);
|
||||
|
||||
|
||||
return $form;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user