bug #2363653 [properties] Various problems with table structure

This commit is contained in:
Marc Delisle
2008-12-19 21:29:41 +00:00
parent 5e8e978b37
commit d90175663e
2 changed files with 3 additions and 1 deletions

View File

@@ -16,6 +16,7 @@ $HeadURL: https://phpmyadmin.svn.sourceforge.net/svnroot/phpmyadmin/trunk/phpMyA
- bug #2417058 [properties] Edit fields: losing auto-increment setting
- patch #2444082 [changelog] changelog.php linkifies one link wrong,
thanks to Robert Xiao - nneonneo
- bug #2363653 [properties] Various problems with table structure
3.1.1.0 (2008-12-09)
- patch #2242765 [core] Navi panel server links wrong,

View File

@@ -174,7 +174,8 @@ for ($i = 0; $i < $num_fields; $i++) {
$row['Key'] = '';
}
$row['DefaultType'] = (isset($_REQUEST['field_default_type'][$i]) ? $_REQUEST['field_default_type'][$i] : 'USER_DEFINED');
// put None in the drop-down for Default, when someone adds a field
$row['DefaultType'] = (isset($_REQUEST['field_default_type'][$i]) ? $_REQUEST['field_default_type'][$i] : 'NONE');
$row['DefaultValue'] = (isset($_REQUEST['field_default_value'][$i]) ? $_REQUEST['field_default_value'][$i] : '');
switch ($row['DefaultType']) {