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/Index.class.php')
-rw-r--r--libraries/Index.class.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/libraries/Index.class.php b/libraries/Index.class.php
index 5128138c26..4248bb7dc6 100644
--- a/libraries/Index.class.php
+++ b/libraries/Index.class.php
@@ -111,7 +111,7 @@ class PMA_Index
PMA_Index::_loadIndexes($table, $schema);
if (! isset(PMA_Index::$_registry[$schema][$table][$index_name])) {
$index = new PMA_Index;
- if ($GLOBALS['PMA_String']->strlen($index_name)) {
+ if (/*overload*/mb_strlen($index_name)) {
$index->setName($index_name);
PMA_Index::$_registry[$schema][$table][$index->getName()] = $index;
}
@@ -200,7 +200,7 @@ class PMA_Index
public function addColumn($params)
{
if (isset($params['Column_name'])
- && $GLOBALS['PMA_String']->strlen($params['Column_name'])
+ && /*overload*/mb_strlen($params['Column_name'])
) {
$this->_columns[$params['Column_name']] = new PMA_Index_Column($params);
}
@@ -341,7 +341,7 @@ class PMA_Index
public function getComments()
{
$comments = $this->getRemarks();
- if ($GLOBALS['PMA_String']->strlen($comments)) {
+ if (/*overload*/mb_strlen($comments)) {
$comments .= "\n";
}
$comments .= $this->getComment();