From 7e5584ed2eff694e6d0b354b684b04412274b59d Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Sat, 29 May 2010 06:56:27 -0400 Subject: [PATCH] problem showing UNHEX function by default when editing a BLOB was not fixed correctly in version 3.3.3 --- tbl_change.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tbl_change.php b/tbl_change.php index d7b86dd60f..9731974b62 100644 --- a/tbl_change.php +++ b/tbl_change.php @@ -442,7 +442,7 @@ foreach ($rows as $row_id => $vrow) { $special_chars = PMA_printable_bit_value($vrow[$field['Field']], $extracted_fieldspec['spec_in_brackets']); } else { // loic1: special binary "characters" - if ($field['is_binary'] || $field['is_blob']) { + if ($field['is_binary'] || ($field['is_blob'] && ! $cfg['ProtectBinary'])) { if ($_SESSION['tmp_user_values']['display_binary_as_hex'] && $cfg['ShowFunctionFields']) { $vrow[$field['Field']] = bin2hex($vrow[$field['Field']]); $field['display_binary_as_hex'] = true; -- 2.11.4.GIT