From 570a0ac00a07acdb06c428c05af03900301f743b Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Tue, 28 Jul 2015 11:35:53 +0200 Subject: [PATCH] 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 --- library/Director/Web/Form/QuickForm.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/library/Director/Web/Form/QuickForm.php b/library/Director/Web/Form/QuickForm.php index 9240217b..13e6f672 100644 --- a/library/Director/Web/Form/QuickForm.php +++ b/library/Director/Web/Form/QuickForm.php @@ -213,9 +213,7 @@ abstract class QuickForm extends Zend_Form $this->onFailure(); } } else { - if ($this->isValidPartial($post)) { - // Nothing to do, just want to see the errors - } + $this->setDefaults($post); } } else { // Well...