bug #2363653 [properties] Various problems with table structure

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

View File

@ -28,6 +28,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

@ -175,7 +175,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']) {