From 1ec3150e486c07c66a22597f39fa8b441d39a907 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Fri, 25 Nov 2016 15:46:13 +0100 Subject: [PATCH] Fix parameter MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michal Čihař --- libraries/php-gettext/gettext.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/php-gettext/gettext.inc b/libraries/php-gettext/gettext.inc index 22bd614013..397ce02861 100644 --- a/libraries/php-gettext/gettext.inc +++ b/libraries/php-gettext/gettext.inc @@ -183,7 +183,7 @@ function _get_codeset($domain=null) { */ function _encode($text) { $source_encoding = 'utf-8'; - if (function_exists(mb_detect_encoding)) { + if (function_exists('mb_detect_encoding')) { $source_encoding = mb_detect_encoding($text); if ($source_encoding === false) { $source_encoding = 'utf-8';