From 2516d07fdd2f915c5b7f9c3bc34c5c1c865390a4 Mon Sep 17 00:00:00 2001 From: Lukas Reschke Date: Tue, 31 May 2016 08:15:18 +0200 Subject: [PATCH] =?UTF-8?q?[stable9]=C2=A0Properly=20check=20for=20mbstrin?= =?UTF-8?q?g=20extension?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit mb_detect_encoding is in the fallback we ship in the polyfill library, mb_strcut is not. Thus this lead to a false positive and ownCloud would just break. --- lib/private/util.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/private/util.php b/lib/private/util.php index 88d78ad83c..894fe9aa59 100644 --- a/lib/private/util.php +++ b/lib/private/util.php @@ -731,7 +731,7 @@ class OC_Util { ), 'functions' => [ 'xml_parser_create' => 'libxml', - 'mb_detect_encoding' => 'mb multibyte', + 'mb_strcut' => 'mb multibyte', 'ctype_digit' => 'ctype', 'json_encode' => 'JSON', 'gd_info' => 'GD',