Fixed some encoding/decoding bugs
This commit is contained in:
@@ -11,8 +11,8 @@ $Source$
|
|||||||
* tbl_addfield.php3: removed an unecessary stripslashes call (line 68) and
|
* tbl_addfield.php3: removed an unecessary stripslashes call (line 68) and
|
||||||
replaced some remaining tabs characters.
|
replaced some remaining tabs characters.
|
||||||
* tbl_alter.php3; tbl_addfield.php3; tbl_change.php3; tbl_replace.php3;
|
* tbl_alter.php3; tbl_addfield.php3; tbl_change.php3; tbl_replace.php3;
|
||||||
tbl_properties.php3; tbl_properties.inc.php3: fixed some
|
tbl_properties.php3; tbl_properties.inc.php3; tbl_printview.php3: fixed
|
||||||
encoding/decoding bugs.
|
some encoding/decoding bugs.
|
||||||
* left.php3; left.js: added a style for the number of tables per database.
|
* left.php3; left.js: added a style for the number of tables per database.
|
||||||
|
|
||||||
2001-08-16 Marc Delisle <lem9@users.sourceforge.net>
|
2001-08-16 Marc Delisle <lem9@users.sourceforge.net>
|
||||||
|
@@ -61,6 +61,8 @@ while ($row = mysql_fetch_array($result)) {
|
|||||||
$shorttype = substr($type, 0, 3);
|
$shorttype = substr($type, 0, 3);
|
||||||
if ($shorttype == 'set' || $shorttype == 'enu') {
|
if ($shorttype == 'set' || $shorttype == 'enu') {
|
||||||
$type = eregi_replace(',', ', ', $type);
|
$type = eregi_replace(',', ', ', $type);
|
||||||
|
// Removes automatic MySQL escape format
|
||||||
|
$type = str_replace('\'\'', '\\\'', $type);
|
||||||
$type_nowrap = '';
|
$type_nowrap = '';
|
||||||
} else {
|
} else {
|
||||||
$type_nowrap = ' nowrap="nowrap"';
|
$type_nowrap = ' nowrap="nowrap"';
|
||||||
|
Reference in New Issue
Block a user