mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-12-22 16:33:48 +01:00
- LSform_regex : Correction de la duplication du code d'erreur 301
This commit is contained in:
parent
aba34f8439
commit
213e779c31
2 changed files with 2 additions and 2 deletions
|
@ -235,7 +235,7 @@ $GLOBALS['LSerror_code'] = array (
|
|||
'level' => 'c'
|
||||
),
|
||||
|
||||
301 => array(
|
||||
801 => array(
|
||||
'msg' => _("LSformRule : Aucune regex n'a été fournis pour la validation des données."),
|
||||
'level' => 'w'
|
||||
),
|
||||
|
|
|
@ -43,7 +43,7 @@ class LSformRule_regex extends LSformRule {
|
|||
$regex=$option['params']['regex'];
|
||||
}
|
||||
else {
|
||||
$GLOBALS['LSerror'] -> addErrorCode(301);
|
||||
$GLOBALS['LSerror'] -> addErrorCode(801);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue