diff options
-rw-r--r-- | Core/Util/StringUtils.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Core/Util/StringUtils.php b/Core/Util/StringUtils.php index 8cbd191..62dccd8 100644 --- a/Core/Util/StringUtils.php +++ b/Core/Util/StringUtils.php @@ -63,10 +63,10 @@ class StringUtils // They are only identical strings if $result is exactly 0... return 0 === $result; } - + /** * Return the number of bytes in a string - * + * * @param string $string The string whose length we wish to obtain * @return int */ @@ -75,6 +75,7 @@ class StringUtils if (function_exists('mb_strlen')) { return mb_strlen($string, '8bit'); } + return strlen($string); } } |