bug 451085
This commit is contained in:
@@ -5,6 +5,9 @@ phpMyAdmin - Changelog
|
||||
$Id$
|
||||
$Source$
|
||||
|
||||
2001-08-16 Marc Delisle <lem9@users.sourceforge.net>
|
||||
* tbl_change.php3, bug 451085 Can't assign NULL value to char(1)
|
||||
|
||||
2001-08-16 Lo<4C>c Chapeaux <lolo@phpheaven.net>
|
||||
* tbl_change.php3; tbl_replace.php3: fixed some of the bugs I've introduced
|
||||
with my last patches.
|
||||
|
@@ -302,11 +302,12 @@ for ($i = 0; $i < mysql_num_rows($table_def); $i++) {
|
||||
} // end else if
|
||||
else {
|
||||
$fieldsize = (($len > 40) ? 40 : $len);
|
||||
$maxlength = (($len < 4) ? 4 : $len);
|
||||
echo "\n";
|
||||
?>
|
||||
<td>
|
||||
<?php echo $backup_field . "\n"; ?>
|
||||
<input type="text" name="fields[<?php echo urlencode($field); ?>]" value="<?php echo $special_chars; ?>" size="<?php echo $fieldsize; ?>" maxlength="<?php echo $len; ?>" />
|
||||
<input type="text" name="fields[<?php echo urlencode($field); ?>]" value="<?php echo $special_chars; ?>" size="<?php echo $fieldsize; ?>" maxlength="<?php echo $maxlength; ?>" />
|
||||
</td>
|
||||
<?php
|
||||
}
|
||||
|
Reference in New Issue
Block a user