diff --git a/code/MultiForm.php b/code/MultiForm.php index b388df5..56b1f4b 100644 --- a/code/MultiForm.php +++ b/code/MultiForm.php @@ -113,8 +113,8 @@ abstract class MultiForm extends Form { // Apply validation if the current step requires validation (is not exempt) if($applyValidation) { - if($this->getCurrentStep()->getValidator()) { - $validator = $this->getCurrentStep()->getValidator(); + if($currentStep->getValidator()) { + $validator = $currentStep->getValidator(); } }