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 'db_operations.php')
-rw-r--r--db_operations.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/db_operations.php b/db_operations.php
index 65c7c66c74..a6ec51090a 100644
--- a/db_operations.php
+++ b/db_operations.php
@@ -36,7 +36,7 @@ $sql_query = '';
*/
/** @var PMA_String $pmaString */
$pmaString = $GLOBALS['PMA_String'];
-if ($pmaString->strlen($GLOBALS['db'])
+if (/*overload*/mb_strlen($GLOBALS['db'])
&& (! empty($_REQUEST['db_rename']) || ! empty($_REQUEST['db_copy']))
) {
if (! empty($_REQUEST['db_rename'])) {
@@ -46,7 +46,7 @@ if ($pmaString->strlen($GLOBALS['db'])
}
if (! isset($_REQUEST['newname'])
- || ! $pmaString->strlen($_REQUEST['newname'])
+ || ! /*overload*/mb_strlen($_REQUEST['newname'])
) {
$message = PMA_Message::error(__('The database name is empty!'));
} else {