diff options
Diffstat (limited to 'inc/utf8.php')
-rw-r--r-- | inc/utf8.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/inc/utf8.php b/inc/utf8.php index 499952617..aa9594c42 100644 --- a/inc/utf8.php +++ b/inc/utf8.php @@ -137,9 +137,9 @@ function utf8_strlen($string){ function utf8_substr($str, $offset, $length = null) { if(UTF8_MBSTRING){ if( $length === null ){ - return (mb_substr($str, $offset)); + return mb_substr($str, $offset); }else{ - return (mb_substr($str, $offset, $length)); + return mb_substr($str, $offset, $length); } } |