mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-05 00:07:44 +02:00
[ticket/10329] Add phpbb_ prefix to new pcre_utf8_support() function.
Introduced by 6b4d0a2542
.
PHPBB3-10329
This commit is contained in:
@@ -1477,7 +1477,7 @@ function validate_username($username, $allowed_username = false)
|
||||
$mbstring = $pcre = false;
|
||||
|
||||
// generic UTF-8 character types supported?
|
||||
if (pcre_utf8_support())
|
||||
if (phpbb_pcre_utf8_support())
|
||||
{
|
||||
$pcre = true;
|
||||
}
|
||||
@@ -1614,7 +1614,7 @@ function validate_password($password)
|
||||
$pcre = $mbstring = false;
|
||||
|
||||
// generic UTF-8 character types supported?
|
||||
if (pcre_utf8_support())
|
||||
if (phpbb_pcre_utf8_support())
|
||||
{
|
||||
$upp = '\p{Lu}';
|
||||
$low = '\p{Ll}';
|
||||
|
Reference in New Issue
Block a user