From 11d20e0ec40d2aedaa33d796aa8634d88b980f5f Mon Sep 17 00:00:00 2001 From: Igor Wiedler Date: Mon, 8 Aug 2011 08:58:52 +0200 Subject: [PATCH] [ticket/9608] Revert changes to normalizer They were breaking the tests. PHPBB3-9608 --- phpBB/includes/utf/utf_normalizer.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/phpBB/includes/utf/utf_normalizer.php b/phpBB/includes/utf/utf_normalizer.php index b38c1378d2..52cdf85827 100644 --- a/phpBB/includes/utf/utf_normalizer.php +++ b/phpBB/includes/utf/utf_normalizer.php @@ -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)) {