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:
Diffstat (limited to 'libraries/List_Database.class.php')
-rw-r--r--libraries/List_Database.class.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/libraries/List_Database.class.php b/libraries/List_Database.class.php
index efe1f87a17..1c9a426a97 100644
--- a/libraries/List_Database.class.php
+++ b/libraries/List_Database.class.php
@@ -142,7 +142,7 @@ class PMA_List_Database extends PMA_List
protected function checkOnlyDatabase()
{
if (is_string($GLOBALS['cfg']['Server']['only_db'])
- && $GLOBALS['PMA_String']->strlen($GLOBALS['cfg']['Server']['only_db'])
+ && /*overload*/mb_strlen($GLOBALS['cfg']['Server']['only_db'])
) {
$GLOBALS['cfg']['Server']['only_db'] = array(
$GLOBALS['cfg']['Server']['only_db']
@@ -183,7 +183,7 @@ class PMA_List_Database extends PMA_List
*/
public function getDefault()
{
- if ($GLOBALS['PMA_String']->strlen($GLOBALS['db'])) {
+ if (/*overload*/mb_strlen($GLOBALS['db'])) {
return $GLOBALS['db'];
}