bug #1176896, undefined variable

This commit is contained in:
Marc Delisle
2005-04-07 17:12:54 +00:00
parent c61b630ff2
commit eed908b9ff

View File

@@ -2,7 +2,7 @@
/* $Id$ */
// vim: expandtab sw=4 ts=4 sts=4:
// Check parameters
error_reporting(E_ALL);
require_once('./libraries/common.lib.php');
PMA_checkParameters(array('db','table','action','num_fields'));
@@ -344,7 +344,7 @@ for ($i = 0 ; $i < $num_fields; $i++) {
$attribute = 'ON UPDATE CURRENT_TIMESTAMP';
}
if ((isset($row['Field']) && isset($analyzed_sql[0]['create_table_fields'][$row['Field']]['default_current_timestamp']))
|| $submit_default_current_timestamp ) {
|| (isset($submit_default_current_timestamp) && $submit_default_current_timestamp) ) {
$default_current_timestamp = TRUE;
} else {
$default_current_timestamp = FALSE;