Merge remote-tracking branch 'origin/QA_4_1' into QA_4_1

This commit is contained in:
Weblate 2014-03-25 17:26:04 +01:00
commit 7bc21138a7
2 changed files with 3 additions and 2 deletions

View File

@ -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)

View File

@ -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',