From 9c47ebed032285942be8cb8fd41111e148d0fac1 Mon Sep 17 00:00:00 2001 From: wopot Date: Tue, 7 Oct 2014 16:33:27 +0200 Subject: [PATCH] =?UTF-8?q?lineup=204=20if=C2=B4s=20with=20||=20(OR)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- inc/functions.php | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/inc/functions.php b/inc/functions.php index 1b77c191..ccd5373e 100644 --- a/inc/functions.php +++ b/inc/functions.php @@ -1956,17 +1956,9 @@ function strip_combining_chars($str) { $o = 0; $ord = ordutf8($char, $o); - if ($ord >= 768 && $ord <= 879) - continue; - - if ($ord >= 7616 && $ord <= 7679) - continue; - - if ($ord >= 8400 && $ord <= 8447) - continue; - - if ($ord >= 65056 && $ord <= 65071) + if ( ($ord >= 768 && $ord <= 879) || ($ord >= 7616 && $ord <= 7679) || ($ord >= 8400 && $ord <= 8447) || ($ord >= 65056 && $ord <= 65071)){ continue; + } $str .= $char; }