aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/inc/Utf8/Clean.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/Utf8/Clean.php')
-rw-r--r--inc/Utf8/Clean.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/inc/Utf8/Clean.php b/inc/Utf8/Clean.php
index 79c46810c..0975ff559 100644
--- a/inc/Utf8/Clean.php
+++ b/inc/Utf8/Clean.php
@@ -65,8 +65,8 @@ class Clean
$ascii = '';
$len = strlen($str);
for ($i = 0; $i < $len; $i++) {
- if (ord($str{$i}) < 128) {
- $ascii .= $str{$i};
+ if (ord($str[$i]) < 128) {
+ $ascii .= $str[$i];
}
}
return $ascii;