Merge branch 'QA_4_7'

This commit is contained in:
Michal Čihař 2017-06-06 10:25:08 +02:00
commit bfdeb8904d
2 changed files with 5 additions and 1 deletions

View File

@ -19,6 +19,7 @@ phpMyAdmin - ChangeLog
4.7.2 (not yet released)
- issue #13314 Make theme selection keep current server
- issue #13311 Fixed direct login for accounts without password
- issue #13316 Fixed check for mbstring.func_overload
4.7.1 (2017-05-25)
- issue #13132 Always execute tracking queries as controluser

View File

@ -460,8 +460,11 @@ $GLOBALS['PMA_Config']->checkErrors();
/**
* As we try to handle charsets by ourself, mbstring overloads just
* break it, see bug 1063821.
*
* We specifically use empty here as we are looking for anything else than
* empty value or 0.
*/
if (@extension_loaded('mbstring') && @ini_get('mbstring.func_overload') != '0') {
if (@extension_loaded('mbstring') && !empty(@ini_get('mbstring.func_overload'))) {
PMA_fatalError(
__(
'You have enabled mbstring.func_overload in your PHP '