Merge pull request #13 from mikg0/patch-1
FIX remove obsolete validation error messages (Fixes issue #12)
This commit is contained in:
commit
a0187dc133
|
@ -436,6 +436,9 @@ abstract class MultiForm extends Form {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// validation succeeded so we reset it to remove errors and messages
|
||||||
|
$this->resetValidation();
|
||||||
|
|
||||||
// Determine whether we can use a step already in the DB, or have to create a new one
|
// Determine whether we can use a step already in the DB, or have to create a new one
|
||||||
if(!$nextStep = DataObject::get_one($nextStepClass, "\"SessionID\" = {$this->session->ID}")) {
|
if(!$nextStep = DataObject::get_one($nextStepClass, "\"SessionID\" = {$this->session->ID}")) {
|
||||||
$nextStep = new $nextStepClass();
|
$nextStep = new $nextStepClass();
|
||||||
|
|
Loading…
Reference in New Issue