From b0d16197e3fc19e800f72b1f6faf65564d0c75c2 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 c58345c41e..90850935f4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -17,6 +17,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 c5140e78d6..cf97323f6e 100644 --- a/tbl_change.php +++ b/tbl_change.php @@ -427,7 +427,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']) { -- 2.11.4.GIT