1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-14 02:24:08 +02:00

User extended fields validation working again on signup

This commit is contained in:
secretr
2012-06-02 14:36:22 +00:00
parent 0ccd0f7622
commit a30c2941da
3 changed files with 16 additions and 9 deletions

View File

@@ -1376,6 +1376,10 @@ class validatorClass
{
$curLine = str_replace('%t', constant($constPrefix.$n), $curLine); // Standard messages
}
if(empty($vars['failed'][$f]))
{
$vars['failed'][$f] = LAN_VALIDATE_191;
}
$curLine = str_replace('%v', htmlentities($vars['failed'][$f]),$curLine);
$curLine = str_replace('%f', $f, $curLine);
if ($checkNice & isset($niceNames[$f]['niceName']))