mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00: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:
parent
dabcb97b2c
commit
3dcd73abaf
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue