bug 1180119, undefined variable when showing the details of a storage engine under MySQL 4.0.x

This commit is contained in:
Marc Delisle
2005-05-11 09:01:48 +00:00
parent 3efb91f103
commit aca2004dcc
2 changed files with 3 additions and 1 deletions

View File

@@ -8,6 +8,8 @@ $Source$
2005-05-11 Marc Delisle <lem9@users.sourceforge.net>
* tbl_properties.inc.php: bug #1069012, table collation forgotten
when adding fields
* libraries/storage_engines.lib.php: bug 1180119, undefined variable when
showing the details of a storage engine under MySQL 4.0.x
2005-05-10 Marc Delisle <lem9@users.sourceforge.net>
* libraries/sqlparser.lib.php: bug #1198156, undefined variable

View File

@@ -141,7 +141,7 @@ class PMA_StorageEngine {
if (!empty($mysql_storage_engines[$engine])) {
$this->engine = $engine;
$this->title = $mysql_storage_engines[$engine]['Engine'];
$this->comment = $mysql_storage_engines[$engine]['Comment'];
$this->comment = (isset($mysql_storage_engines[$engine]['Comment']) ? $mysql_storage_engines[$engine]['Comment'] : '');
switch ($mysql_storage_engines[$engine]['Support']) {
case 'DEFAULT':
$this->support = PMA_ENGINE_SUPPORT_DEFAULT;