From a06a9eda0e4e28ce3aaa4276d5c20ddf51d5af0c Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Wed, 21 Aug 2002 13:03:22 +0000 Subject: [PATCH] undefined index (innodb) --- ChangeLog | 2 ++ tbl_properties_structure.php3 | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 6791440a7..479495c12 100755 --- a/ChangeLog +++ b/ChangeLog @@ -9,6 +9,8 @@ $Source$ * db_details.php3, read_dump.php3, libraries/functions.js, lang/*, config.inc.php3, Documentation.html: web-based upload directory, thanks to Sönke J. Peters (s03nk3) + * tbl_properties_structure.php3: undefined index for innodb, + thanks to Loïc 2002-08-21 Alexander M. Turek * Documentation.html: Updated FAQ 1.6. diff --git a/tbl_properties_structure.php3 b/tbl_properties_structure.php3 index a82ac5ba5..58a44b787 100755 --- a/tbl_properties_structure.php3 +++ b/tbl_properties_structure.php3 @@ -295,7 +295,7 @@ require ('./tbl_indexes.php3'); // statistics whatever is the table type if ($cfg['ShowStats']) { $nonisam = FALSE; - $is_innodb = ($showtable['Type'] == 'InnoDB'); + $is_innodb = (isset($showtable['Type']) && $showtable['Type'] == 'InnoDB'); if (isset($showtable['Type']) && !eregi('ISAM|HEAP', $showtable['Type'])) { $nonisam = TRUE; }