mirror of
https://github.com/silverstripe/silverstripe-multiform
synced 2024-10-22 11:05:49 +02:00
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
Block a user