Skip to content

Commit

Permalink
Silverstripe 3.1 compatibility.
Browse files Browse the repository at this point in the history
  • Loading branch information
adiwidjaja committed Jun 14, 2013
1 parent 9ccf4d9 commit 895e91f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/SiteTreeImporter.php
Expand Up @@ -50,11 +50,11 @@ function Content() {
}

function Form() {
return new Form($this, "Form", new FieldSet(
return new Form($this, "Form", new FieldList(
new FileField("SourceFile", "Tab-delimited file"),
new CheckboxField("DeleteExisting", "Clear out all existing content?"),
new CheckboxField("PublishAll", "Publish everything after the import?")
), new FieldSet(
), new FieldList(
new FormAction("bulkimport", "Import pages")
));
}
Expand Down

0 comments on commit 895e91f

Please sign in to comment.