mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-22 18:09:06 +01:00
LSform::validate(): fix checking elements's errors after getPostData()
This commit is contained in:
parent
e44be00ebd
commit
d456240fde
1 changed files with 3 additions and 0 deletions
|
@ -318,6 +318,9 @@ class LSform {
|
|||
LSerror :: addErrorCode('LSform_01');
|
||||
return;
|
||||
}
|
||||
// Check getPostData do not trigger fields errors
|
||||
if(!$this -> can_validate)
|
||||
return;
|
||||
$this -> setValuesFromPostData();
|
||||
//Validation des données ici !!! ///
|
||||
if (!$this -> checkData()) {
|
||||
|
|
Loading…
Reference in a new issue