diff options
author | Christian Foellmann <foellmann@foe-services.de> | 2015-01-05 22:07:18 +0300 |
---|---|---|
committer | Christian Foellmann <foellmann@foe-services.de> | 2015-01-05 22:07:18 +0300 |
commit | 170cb05f4eec4322303658108f9eea6e55163e50 (patch) | |
tree | e9b7e9a7e287270392077d1099fe0b5dc54eeba1 /libraries/Header.class.php | |
parent | f3a2bbe4d8241664dbb92def1b413b616bfab1fd (diff) |
UPDATE 4.3.54.3.5
Diffstat (limited to 'libraries/Header.class.php')
-rw-r--r-- | libraries/Header.class.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libraries/Header.class.php b/libraries/Header.class.php index 67347389c0..50d332c490 100644 --- a/libraries/Header.class.php +++ b/libraries/Header.class.php @@ -220,6 +220,12 @@ class PMA_Header $table = ! empty($GLOBALS['table']) ? $GLOBALS['table'] : ''; $pftext = ! empty($_SESSION['tmpval']['pftext']) ? $_SESSION['tmpval']['pftext'] : ''; + + // not sure when this happens, but it happens + if (! isset($GLOBALS['collation_connection'])) { + $GLOBALS['collation_connection'] = 'utf8_general_ci'; + } + return array( 'common_query' => PMA_URL_getCommon(array(), 'text'), 'opendb_url' => $GLOBALS['cfg']['DefaultTabDatabase'], |