diff --git a/core/util.inc.php b/core/util.inc.php index 81582cdf..842918dd 100644 --- a/core/util.inc.php +++ b/core/util.inc.php @@ -958,6 +958,13 @@ function data_path($filename) { return $filename; } +if (!function_exists('mb_strlen')) { + // TODO: we should warn the admin that they are missing multibyte support + function mb_strlen($str, $encoding) { + return strlen($str); + } +} + /** * @param string $url * @param string $mfile