Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Foellmann <foellmann@foe-services.de>2015-01-05 22:07:18 +0300
committerChristian Foellmann <foellmann@foe-services.de>2015-01-05 22:07:18 +0300
commit170cb05f4eec4322303658108f9eea6e55163e50 (patch)
treee9b7e9a7e287270392077d1099fe0b5dc54eeba1 /libraries/Header.class.php
parentf3a2bbe4d8241664dbb92def1b413b616bfab1fd (diff)
UPDATE 4.3.54.3.5
Diffstat (limited to 'libraries/Header.class.php')
-rw-r--r--libraries/Header.class.php6
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'],