Revert last change

This commit is contained in:
Sean Harvey 2008-04-30 03:47:33 +00:00
parent 3872ca004c
commit ff9662f9f5

View File

@ -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