From d4c8bef2e60540ed8c03582cfdbee7813d994054 Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Tue, 25 Mar 2014 12:25:48 -0400 Subject: [PATCH] bug #4326 Cannot find the import plugins which start with uppercase 'I' Signed-off-by: Marc Delisle --- ChangeLog | 1 + libraries/plugin_interface.lib.php | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index ab811bbdfa..ae1c94f36a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,7 @@ phpMyAdmin - ChangeLog - bug #4334 Add event : datepicker won't open - bug #4338 Fix missing value error while executing SQL query - TCPDF library is now optional dependency +- bug #4326 Cannot find the import plugins which start with uppercase 'I' 4.1.11.0 (2014-03-23) - bug #4335 reCaptcha problem (4.1.10 regression) diff --git a/libraries/plugin_interface.lib.php b/libraries/plugin_interface.lib.php index be7e593db4..4166702dc1 100644 --- a/libraries/plugin_interface.lib.php +++ b/libraries/plugin_interface.lib.php @@ -58,8 +58,8 @@ function PMA_getPlugins($plugin_type, $plugins_dir, $plugin_param) // (for example ._csv.php) so the following regexp // matches a file which does not start with a dot but ends // with ".php" - $class_type = strtoupper($plugin_type[0]) - . strtolower(substr($plugin_type, 1)); + $class_type = mb_strtoupper($plugin_type[0], 'UTF-8') + . mb_strtolower(substr($plugin_type, 1), 'UTF-8'); if (is_file($plugins_dir . $file) && preg_match( '@^' . $class_type . '(.+)\.class\.php$@i',