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/Error.class.php')
-rw-r--r--libraries/Error.class.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/libraries/Error.class.php b/libraries/Error.class.php
index 4e5b22ca2b..87d0ef9423 100644
--- a/libraries/Error.class.php
+++ b/libraries/Error.class.php
@@ -252,7 +252,7 @@ class PMA_Error extends PMA_Message
public function getHtmlTitle()
{
return htmlspecialchars(
- $GLOBALS['PMA_String']->substr($this->getTitle(), 0, 100)
+ /*overload*/mb_substr($this->getTitle(), 0, 100)
);
}
@@ -437,7 +437,7 @@ class PMA_Error extends PMA_Message
{
$dest = realpath($dest);
- if ($GLOBALS['PMA_String']->substr(PHP_OS, 0, 3) == 'WIN') {
+ if (substr(PHP_OS, 0, 3) == 'WIN') {
$separator = '\\';
} else {
$separator = '/';