bug 879923

This commit is contained in:
Marc Delisle
2004-02-03 19:19:56 +00:00
parent 7d15d6e7e7
commit b881eee141
2 changed files with 5 additions and 1 deletions

View File

@@ -5,6 +5,9 @@ phpMyAdmin - Changelog
$Id$
$Source$
2004-02-03 Marc Delisle <lem9@users.sourceforge.net>
* tbl_change.php: bug 879923, NULL default value of DATETIME field
2004-02-02 Marc Delisle <lem9@users.sourceforge.net>
* export.php: security fix, thanks to Cedric Cochin for the advisory
* lang/slovak: Updated, thanks to Lubos Klokner (erkac).

View File

@@ -277,7 +277,8 @@ foreach($loop_array AS $vrowcount => $vrow) {
// value (the real default value will be set in the
// Default value logic below)
if ($row_table_def['Type'] == 'datetime'
&& (!isset($row_table_def['Default']))) {
&& (!isset($row_table_def['Default']))
&& (!is_null($row_table_def['Default']))) {
// INSERT case
if ($insert_mode) {
if (isset($vrow)) {