1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-05-07 08:05:25 +02:00

[ticket/9608] Revert changes to normalizer

They were breaking the tests.

PHPBB3-9608
This commit is contained in:
Igor Wiedler 2011-08-08 08:58:52 +02:00
parent ec4962d84e
commit 11d20e0ec4

View File

@ -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))
{