Undefined index
This commit is contained in:
@@ -5,7 +5,10 @@ phpMyAdmin - Changelog
|
||||
$Id$
|
||||
$Source$
|
||||
|
||||
2005-06-22 Garvin Hicking
|
||||
2005-06-22 Alexander M. Turek <me@derrabus.de>
|
||||
* tbl_properties_structure.php: Undefined index.
|
||||
|
||||
2005-06-22 Garvin Hicking <rabustoldmethatiforgotmyemailaddress@supergarv.de>
|
||||
* server_databases.php: Bug #1225315, wrong message displayed
|
||||
when no databases were dropped.
|
||||
* tbl_properties.inc.php: Patch #1225452, JS error for
|
||||
|
@@ -250,7 +250,7 @@ while ($row = PMA_DBI_fetch_assoc($fields_rs)) {
|
||||
// here, we have a TIMESTAMP that SHOW FULL FIELDS reports as having the
|
||||
// NULL attribute, but SHOW CREATE TABLE says the contrary. Believe
|
||||
// the latter.
|
||||
if ($analyzed_sql[0]['create_table_fields'][$row['Field']]['type'] == 'TIMESTAMP' && $analyzed_sql[0]['create_table_fields'][$row['Field']]['timestamp_not_null']) {
|
||||
if (!empty($analyzed_sql[0]['create_table_fields'][$row['Field']]['type']) && $analyzed_sql[0]['create_table_fields'][$row['Field']]['type'] == 'TIMESTAMP' && $analyzed_sql[0]['create_table_fields'][$row['Field']]['timestamp_not_null']) {
|
||||
$row['Null'] = '';
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user