From dcdb1ddf8f597280aae6a00426d849f6f7673f92 Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Mon, 22 Dec 2008 17:23:49 +0000 Subject: [PATCH] bug [display] BIT field contents disappear when edited --- ChangeLog | 1 + tbl_change.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 3f58896ffd..3a2e8ff47f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -29,6 +29,7 @@ $HeadURL: https://phpmyadmin.svn.sourceforge.net/svnroot/phpmyadmin/trunk/phpMyA - patch #2444082 [changelog] changelog.php linkifies one link wrong, thanks to Robert Xiao - nneonneo - bug #2363653 [properties] Various problems with table structure +- bug [display] BIT field contents disappear when edited 3.1.1.0 (2008-12-09) - patch #2242765 [core] Navi panel server links wrong, diff --git a/tbl_change.php b/tbl_change.php index 79acba7839..8ec8025d30 100644 --- a/tbl_change.php +++ b/tbl_change.php @@ -428,7 +428,7 @@ foreach ($rows as $row_id => $vrow) { $special_chars = ''; $data = $vrow[$field['Field']]; } elseif ($field['True_Type'] == 'bit') { - $special_chars = PMA_printable_bit_value($vrow[$field], $extracted_fieldspec['spec_in_brackets']); + $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']) {