MINOR: Fix to ModelAdmin, part of r103519

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@103533 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Luke Hudson 2010-04-27 00:40:38 +00:00 committed by Sam Minnee
parent 5cbb94b43b
commit 3ab7de6051

View File

@ -426,7 +426,7 @@ class ModelAdmin_CollectionController extends Controller {
$form = new Form($this, "CreateForm",
new FieldSet(),
$createButton = new FormAction('add', $buttonLabel),
new FieldSet($createButton = new FormAction('add', $buttonLabel)),
$validator = new RequiredFields()
);