- LSform_regex : Correction de la duplication du code d'erreur 301

This commit is contained in:
Benjamin Renard 2008-10-07 15:06:40 +00:00
parent aba34f8439
commit 213e779c31
2 changed files with 2 additions and 2 deletions

View file

@ -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'
),

View file

@ -43,7 +43,7 @@ class LSformRule_regex extends LSformRule {
$regex=$option['params']['regex'];
}
else {
$GLOBALS['LSerror'] -> addErrorCode(301);
$GLOBALS['LSerror'] -> addErrorCode(801);
return;
}
}