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/db_table_exists.lib.php')
-rw-r--r--libraries/db_table_exists.lib.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/libraries/db_table_exists.lib.php b/libraries/db_table_exists.lib.php
index dc18f8d245..5f93e57730 100644
--- a/libraries/db_table_exists.lib.php
+++ b/libraries/db_table_exists.lib.php
@@ -13,7 +13,7 @@ if (! defined('PHPMYADMIN')) {
/** @var PMA_String $pmaString */
$pmaString = $GLOBALS['PMA_String'];
if (empty($is_db)) {
- if ($pmaString->strlen($db)) {
+ if (/*overload*/mb_strlen($db)) {
$is_db = @$GLOBALS['dbi']->selectDb($db);
} else {
$is_db = false;
@@ -56,7 +56,7 @@ if (empty($is_table)
) {
// Not a valid table name -> back to the db_sql.php
- if ($pmaString->strlen($table)) {
+ if (/*overload*/mb_strlen($table)) {
$is_table = isset(PMA_Table::$cache[$db][$table]);
if (! $is_table) {
@@ -74,7 +74,7 @@ if (empty($is_table)
if (! $is_table) {
if (!defined('IS_TRANSFORMATION_WRAPPER')) {
- if ($pmaString->strlen($table)) {
+ if (/*overload*/mb_strlen($table)) {
// SHOW TABLES doesn't show temporary tables, so try select
// (as it can happen just in case temporary table, it should be
// fast):