summaryrefslogtreecommitdiff
path: root/inc/utf8.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/utf8.php')
-rw-r--r--inc/utf8.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/inc/utf8.php b/inc/utf8.php
index ef056bfa4..499952617 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 ){
- mb_substr($str, $offset);
+ return (mb_substr($str, $offset));
}else{
- mb_substr($str, $offset, $length);
+ return (mb_substr($str, $offset, $length));
}
}