This commit is contained in:
Marc Delisle
2005-05-25 17:12:21 +00:00
parent a9678242fc
commit 30cebf0804
2 changed files with 4 additions and 1 deletions

View File

@@ -5,6 +5,9 @@ phpMyAdmin - Changelog
$Id$
$Source$
2005-05-25 Marc Delisle <lem9@users.sourceforge.net>
* tbl_properties.inc.php: bug #1207404, undefined variables
2005-05-24 Marc Delisle <lem9@users.sourceforge.net>
* libraries/common.lib.php: bug #1207395, undefined theme_generation
and theme_version, thanks to Ryan Schmidt

View File

@@ -345,7 +345,7 @@ for ($i = 0 ; $i < $num_fields; $i++) {
// 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'] == TRUE) {
if (isset($row['Field']) && isset($analyzed_sql[0]) && $analyzed_sql[0]['create_table_fields'][$row['Field']]['type'] == 'TIMESTAMP' && $analyzed_sql[0]['create_table_fields'][$row['Field']]['timestamp_not_null'] == TRUE) {
$row['Null'] = '';
}