QuickForm: do not validate unsubmitted but sent

There is no clean way to clear errors detected by isValidPartial
afterwards, so we shouldn't call it
This commit is contained in:
Thomas Gelf 2015-07-28 11:35:53 +02:00
parent d522cb8d2b
commit 570a0ac00a
1 changed files with 1 additions and 3 deletions

View File

@ -213,9 +213,7 @@ abstract class QuickForm extends Zend_Form
$this->onFailure(); $this->onFailure();
} }
} else { } else {
if ($this->isValidPartial($post)) { $this->setDefaults($post);
// Nothing to do, just want to see the errors
}
} }
} else { } else {
// Well... // Well...