diff --git a/code/MultiForm.php b/code/MultiForm.php index 461e639..977713f 100644 --- a/code/MultiForm.php +++ b/code/MultiForm.php @@ -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 {