I should be more carefully when fixing bugs via drag&drop...

This commit is contained in:
Alexander M. Turek
2003-06-08 18:21:32 +00:00
parent ba9faea1f3
commit f39c517e8f

View File

@@ -148,8 +148,8 @@ while ($row = PMA_mysql_fetch_array($fields_rs)) {
|| substr($type, 0, 8) == 'tinytext'
|| substr($type, 0, 10) == 'mediumtext'
|| substr($type, 0, 8) == 'longtext'
|| strtolower(substr($type, 0, 3)) == 'set'
|| strtolower(substr($type, 0, 4)) == 'enum'
|| substr($type, 0, 3) == 'set'
|| substr($type, 0, 4) == 'enum'
) && !$binary) {
if (strpos($type, ' character set ')) {
$type = substr($type, 0, strpos($type, ' character set '));