fixed email check (3033605)

This commit is contained in:
Roland Gruber 2010-08-09 18:31:07 +00:00
parent 8b955ebe61
commit 99570d1a2c
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
October 2010 3.2.0
- fixed bugs:
-> fixed email check (3033605)
04.07.2010 3.1.1
- LAM Pro: fix for user self service

View File

@ -401,7 +401,7 @@ function get_preg($argument, $regexp) {
$pregexpr = '/^(\\+)*([0-9a-zA-Z\\.\\ \\(\\)\\/-])*$/';
break;
case "email":
$pregexpr = '/^([0-9a-zA-Z\\._-])+[@]([0-9a-zA-Z-])+([.]([0-9a-zA-Z-])+)*$/';
$pregexpr = '/^([0-9a-zA-Z+\\/\\._-])+[@]([0-9a-zA-Z-])+([.]([0-9a-zA-Z-])+)*$/';
break;
case "mailLocalAddress":
$pregexpr = '/^([0-9a-zA-Z\\._-])+([@]([0-9a-zA-Z-])+([.]([0-9a-zA-Z-])+)*)?$/';