diff --git a/ChangeLog b/ChangeLog index 6718de226..341922637 100755 --- a/ChangeLog +++ b/ChangeLog @@ -11,8 +11,8 @@ $Source$ * tbl_addfield.php3: removed an unecessary stripslashes call (line 68) and replaced some remaining tabs characters. * tbl_alter.php3; tbl_addfield.php3; tbl_change.php3; tbl_replace.php3; - tbl_properties.php3; tbl_properties.inc.php3: fixed some - encoding/decoding bugs. + tbl_properties.php3; tbl_properties.inc.php3; tbl_printview.php3: fixed + some encoding/decoding bugs. * left.php3; left.js: added a style for the number of tables per database. 2001-08-16 Marc Delisle diff --git a/tbl_printview.php3 b/tbl_printview.php3 index f5093bfd6..84dbe07f1 100755 --- a/tbl_printview.php3 +++ b/tbl_printview.php3 @@ -61,6 +61,8 @@ while ($row = mysql_fetch_array($result)) { $shorttype = substr($type, 0, 3); if ($shorttype == 'set' || $shorttype == 'enu') { $type = eregi_replace(',', ', ', $type); + // Removes automatic MySQL escape format + $type = str_replace('\'\'', '\\\'', $type); $type_nowrap = ''; } else { $type_nowrap = ' nowrap="nowrap"';