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/config/FormDisplay.class.php')
-rw-r--r--libraries/config/FormDisplay.class.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/libraries/config/FormDisplay.class.php b/libraries/config/FormDisplay.class.php
index 93d9d2ffb4..00e883d0c2 100644
--- a/libraries/config/FormDisplay.class.php
+++ b/libraries/config/FormDisplay.class.php
@@ -386,8 +386,8 @@ class FormDisplay
break;
case 'group':
// :group:end is changed to :group:end:{unique id} in Form class
- if ($pmaString->substr($field, 7, 4) != 'end:') {
- PMA_displayGroupHeader($pmaString->substr($field, 7));
+ if (/*overload*/mb_substr($field, 7, 4) != 'end:') {
+ PMA_displayGroupHeader(/*overload*/mb_substr($field, 7));
} else {
PMA_displayGroupFooter();
}
@@ -399,7 +399,7 @@ class FormDisplay
// detect password fields
if ($type === 'text'
- && $pmaString->substr($translated_path, -9) === '-password'
+ && /*overload*/mb_substr($translated_path, -9) === '-password'
) {
$type = 'password';
}
@@ -704,7 +704,7 @@ class FormDisplay
*/
public function getDocLink($path)
{
- $test = $GLOBALS['PMA_String']->substr($path, 0, 6);
+ $test = /*overload*/mb_substr($path, 0, 6);
if ($test == 'Import' || $test == 'Export') {
return '';
}