mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 12:28:52 +00:00
[ticket/9608] Revert changes to normalizer
They were breaking the tests. PHPBB3-9608
This commit is contained in:
parent
ec4962d84e
commit
11d20e0ec4
1 changed files with 5 additions and 5 deletions
|
@ -507,7 +507,7 @@ class utf_normalizer
|
|||
|
||||
do
|
||||
{
|
||||
$_utf_len = $utf_len_mask[$decomp_map[$utf_char][$_pos] & "\xF0"];
|
||||
$_utf_len =& $utf_len_mask[$decomp_map[$utf_char][$_pos] & "\xF0"];
|
||||
|
||||
if (isset($_utf_len))
|
||||
{
|
||||
|
@ -563,7 +563,7 @@ class utf_normalizer
|
|||
do
|
||||
{
|
||||
$c = $decomp_map[$utf_char][$_pos];
|
||||
$_utf_len = $utf_len_mask[$c & "\xF0"];
|
||||
$_utf_len =& $utf_len_mask[$c & "\xF0"];
|
||||
|
||||
if (isset($_utf_len))
|
||||
{
|
||||
|
@ -636,7 +636,7 @@ class utf_normalizer
|
|||
do
|
||||
{
|
||||
$c = $decomp_map[$utf_char][$_pos];
|
||||
$_utf_len = $utf_len_mask[$c & "\xF0"];
|
||||
$_utf_len =& $utf_len_mask[$c & "\xF0"];
|
||||
|
||||
if (isset($_utf_len))
|
||||
{
|
||||
|
@ -717,7 +717,7 @@ class utf_normalizer
|
|||
do
|
||||
{
|
||||
$c = $decomp_map[$utf_char][$_pos];
|
||||
$_utf_len = $utf_len_mask[$c & "\xF0"];
|
||||
$_utf_len =& $utf_len_mask[$c & "\xF0"];
|
||||
|
||||
if (isset($_utf_len))
|
||||
{
|
||||
|
@ -1064,7 +1064,7 @@ class utf_normalizer
|
|||
do
|
||||
{
|
||||
$c = $decomp_map[$utf_char][$_pos];
|
||||
$_utf_len = $utf_len_mask[$c & "\xF0"];
|
||||
$_utf_len =& $utf_len_mask[$c & "\xF0"];
|
||||
|
||||
if (isset($_utf_len))
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue