mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-10 05:18:52 +00:00
[ticket/17188] Change regex being edited
Change the edited regex to ruben's recommendation PHPBB3-17188
This commit is contained in:
parent
d59a4d4aad
commit
d4e0840e6f
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ class type_cast_helper implements \phpbb\request\type_cast_helper_interface
|
||||||
// Make sure multibyte characters are wellformed
|
// Make sure multibyte characters are wellformed
|
||||||
if ($multibyte)
|
if ($multibyte)
|
||||||
{
|
{
|
||||||
if (!preg_match('/^./um', $result))
|
if (!preg_match('//u', $result))
|
||||||
{
|
{
|
||||||
$result = '';
|
$result = '';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue