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:
authorMarc Delisle <marc@infomarc.info>2008-05-21 19:49:57 +0400
committerMarc Delisle <marc@infomarc.info>2008-05-21 19:49:57 +0400
commitb9baa825c1999c4e33f31d88391f6e0b4597cb3b (patch)
treecae213d880c3762d187cc684f98f63964c565df0 /tbl_change.php
parente7d3e5a288a566e2ad400068062a2f39d673df75 (diff)
display options (work in progress)
Diffstat (limited to 'tbl_change.php')
-rw-r--r--tbl_change.php6
1 files changed, 1 insertions, 5 deletions
diff --git a/tbl_change.php b/tbl_change.php
index 4980a9246f..77677c3a13 100644
--- a/tbl_change.php
+++ b/tbl_change.php
@@ -425,11 +425,7 @@ foreach ($rows as $row_id => $vrow) {
} else {
// loic1: special binary "characters"
if ($field['is_binary'] || $field['is_blob']) {
- $vrow[$field['Field']] = str_replace("\x00", '\0', $vrow[$field['Field']]);
- $vrow[$field['Field']] = str_replace("\x08", '\b', $vrow[$field['Field']]);
- $vrow[$field['Field']] = str_replace("\x0a", '\n', $vrow[$field['Field']]);
- $vrow[$field['Field']] = str_replace("\x0d", '\r', $vrow[$field['Field']]);
- $vrow[$field['Field']] = str_replace("\x1a", '\Z', $vrow[$field['Field']]);
+ $vrow[$field['Field']] = PMA_replace_binary_contents($vrow[$field['Field']]);
} // end if
$special_chars = htmlspecialchars($vrow[$field['Field']]);
$data = $vrow[$field['Field']];