mirror of
https://github.com/silverstripe/silverstripe-multiform
synced 2024-10-22 11:05:49 +02:00
Added TODO
This commit is contained in:
parent
39005fdf84
commit
433d74b94d
@ -122,6 +122,7 @@ abstract class MultiForm extends Form {
|
||||
$this->session->CurrentStepID = $currentStep->ID;
|
||||
$this->session->write();
|
||||
}
|
||||
// @TODO if you set a wrong ID, then it ends up at this point with a non-object error.
|
||||
} elseif($this->session->CurrentStepID) {
|
||||
$currentStep = $this->session->CurrentStep();
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user