Skip to content

Commit 3547a8c

Browse files
committed
Replace bad characters properly (spotted by Putte)
1 parent bdab1ad commit 3547a8c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎featherbb/Core/Utils.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public static function get_microtime()
3232
public static function strip_bad_multibyte_chars($str)
3333
{
3434
$result = '';
35-
$length = self::strlen($str);
35+
$length = strlen($str);
3636

3737
for ($i = 0; $i < $length; $i++) {
3838
// Replace four-byte characters (11110www 10zzzzzz 10yyyyyy 10xxxxxx)

0 commit comments

Comments
 (0)