bug #1176896, undefined variable
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
/* $Id$ */
|
/* $Id$ */
|
||||||
// vim: expandtab sw=4 ts=4 sts=4:
|
// vim: expandtab sw=4 ts=4 sts=4:
|
||||||
// Check parameters
|
// Check parameters
|
||||||
|
error_reporting(E_ALL);
|
||||||
require_once('./libraries/common.lib.php');
|
require_once('./libraries/common.lib.php');
|
||||||
PMA_checkParameters(array('db','table','action','num_fields'));
|
PMA_checkParameters(array('db','table','action','num_fields'));
|
||||||
|
|
||||||
@@ -344,7 +344,7 @@ for ($i = 0 ; $i < $num_fields; $i++) {
|
|||||||
$attribute = 'ON UPDATE CURRENT_TIMESTAMP';
|
$attribute = 'ON UPDATE CURRENT_TIMESTAMP';
|
||||||
}
|
}
|
||||||
if ((isset($row['Field']) && isset($analyzed_sql[0]['create_table_fields'][$row['Field']]['default_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;
|
$default_current_timestamp = TRUE;
|
||||||
} else {
|
} else {
|
||||||
$default_current_timestamp = FALSE;
|
$default_current_timestamp = FALSE;
|
||||||
|
Reference in New Issue
Block a user