mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
Fix error with regexp character class ... hopefully
git-svn-id: file:///svn/phpbb/branches/phpBB-2_0_0@3240 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -825,7 +825,7 @@ switch ($row['config_value'])
|
||||
case 'mysql':
|
||||
$sql = "UPDATE " . USERS_TABLE . "
|
||||
SET user_email = ''
|
||||
WHERE user_email NOT REGEXP '^[a-zA-Z0-9_\+\.\-]+@.*[a-zA-Z0-9\-_]+\.[a-zA-Z]{2,}$'";
|
||||
WHERE user_email NOT REGEXP '^[a-zA-Z0-9_\+\.\-]+@.*[a-zA-Z0-9_\-]+\.[a-zA-Z]{2,}$'";
|
||||
_sql($sql, $errored, $error_ary);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user