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 'file_echo.php')
-rw-r--r--file_echo.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/file_echo.php b/file_echo.php
index 21b16796e3..e4409779da 100644
--- a/file_echo.php
+++ b/file_echo.php
@@ -46,9 +46,9 @@ if (isset($_REQUEST['filename']) && isset($_REQUEST['image'])) {
/* Decode data */
if ($extension != 'svg') {
- $data = $pmaString->substr(
+ $data = /*overload*/mb_substr(
$_REQUEST['image'],
- $pmaString->strpos($_REQUEST['image'], ',') + 1
+ /*overload*/mb_strpos($_REQUEST['image'], ',') + 1
);
$data = base64_decode($data);
} else {
@@ -59,7 +59,7 @@ if (isset($_REQUEST['filename']) && isset($_REQUEST['image'])) {
PMA_downloadHeader(
$filename,
$_REQUEST['type'],
- $pmaString->strlen($data)
+ /*overload*/mb_strlen($data)
);
/* Send data */