mirror of
https://github.com/silverstripe/silverstripe-multiform
synced 2024-10-22 11:05:49 +02:00
Revert last change
This commit is contained in:
parent
3872ca004c
commit
ff9662f9f5
@ -105,9 +105,11 @@ abstract class MultiForm extends Form {
|
||||
// Set up validator from the form step class
|
||||
$this->validator = $currentStep->getValidator();
|
||||
|
||||
// Load existing data into the form (CAUTION: loadData() MUST unserialize first!)
|
||||
// If there is form data, we populate it here (CAUTION: loadData() MUST unserialize first!)
|
||||
if($currentStep->loadData()) {
|
||||
$this->loadDataFrom($currentStep->loadData());
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Accessor method to $this->controller
|
||||
|
Loading…
Reference in New Issue
Block a user