mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-26 19:54:46 +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');
|
LSerror :: addErrorCode('LSform_01');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
// Check getPostData do not trigger fields errors
|
||||||
|
if(!$this -> can_validate)
|
||||||
|
return;
|
||||||
$this -> setValuesFromPostData();
|
$this -> setValuesFromPostData();
|
||||||
//Validation des données ici !!! ///
|
//Validation des données ici !!! ///
|
||||||
if (!$this -> checkData()) {
|
if (!$this -> checkData()) {
|
||||||
|
|
Loading…
Reference in a new issue