bug [display] BIT field contents disappear when edited

This commit is contained in:
Marc Delisle
2008-12-22 17:23:49 +00:00
parent d90175663e
commit b0d16197e3
2 changed files with 2 additions and 1 deletions

View File

@@ -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,

View File

@@ -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']) {