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:
authorMichal Čihař <michal@cihar.com>2004-03-09 18:02:28 +0300
committerMichal Čihař <michal@cihar.com>2004-03-09 18:02:28 +0300
commit88dc344cdbd115360f7b7e5574746d056d5034cf (patch)
treee8c996ee4c69e0d4f502e96b4c533120f8dafde6 /browse_foreigners.php
parent399318d264bab6a08cf2ea87a1b6d17ddcd2722d (diff)
Use charset aware substr and strlen functions (bugs #854755 and #910575).
Diffstat (limited to 'browse_foreigners.php')
-rw-r--r--browse_foreigners.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/browse_foreigners.php b/browse_foreigners.php
index 7d032a37bd..a69dd2f020 100644
--- a/browse_foreigners.php
+++ b/browse_foreigners.php
@@ -186,7 +186,7 @@ if (isset($disp_row) && is_array($disp_row)) {
$vtitle = '';
} else {
$vtitle = htmlspecialchars($val);
- $value = htmlspecialchars(substr($val, 0, $cfg['LimitChars']) . '...');
+ $value = htmlspecialchars(PMA_substr($val, 0, $cfg['LimitChars']) . '...');
}
$key_equals_data = isset($data) && $key == $data;