BUGFIX: MultiFormStep::saveInto() need the current Controller as the new $form Controller to work
This commit is contained in:
parent
44527561a8
commit
07120018bf
|
@ -171,7 +171,7 @@ class MultiFormStep extends DataObject {
|
|||
*/
|
||||
public function saveInto($obj) {
|
||||
$form = new Form(
|
||||
new Controller(),
|
||||
Controller::curr(),
|
||||
'Form',
|
||||
$this->getFields(),
|
||||
new FieldSet()
|
||||
|
|
Loading…
Reference in New Issue