diff --git a/ChangeLog b/ChangeLog index df65a12d86..3f58896ffd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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, diff --git a/libraries/tbl_properties.inc.php b/libraries/tbl_properties.inc.php index 3bbf0e41c3..8975dc4929 100644 --- a/libraries/tbl_properties.inc.php +++ b/libraries/tbl_properties.inc.php @@ -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']) {