BUGFIX: MultiFormStep::saveInto() need the current Controller as the new $form Controller to work

This commit is contained in:
Normann Lou 2009-06-03 01:47:36 +00:00
parent 44527561a8
commit 07120018bf
1 changed files with 1 additions and 1 deletions

View File

@ -171,7 +171,7 @@ class MultiFormStep extends DataObject {
*/
public function saveInto($obj) {
$form = new Form(
new Controller(),
Controller::curr(),
'Form',
$this->getFields(),
new FieldSet()