git-svn-id: http://xe-core.googlecode.com/svn/trunk@1369 201d5d3c-b55e-5fd7-737f-ddc643e51545

This commit is contained in:
zero 2007-05-03 01:52:00 +00:00
parent 83f1f44e7c
commit 19270cfe33
3 changed files with 4 additions and 3 deletions

View file

@ -236,7 +236,7 @@
switch($filter_type) {
case 'email' :
case 'email_adderss' :
case 'email_address' :
if(!eregi('^[_0-9a-z-]+(\.[_0-9a-z-]+)*@[0-9a-z-]+(\.[0-9a-z-]+)*$', $val)) return new Object(-1, sprintf($lang->filter->invalid_email, $lang->{$key}?$lang->{$key}:$key));
break;
case 'homepage' :