diff --git a/ChangeLog b/ChangeLog index c1ac6439b..8b03f3d3f 100755 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,9 @@ phpMyAdmin - Changelog $Id$ $Source$ +2005-11-07 Marc Delisle + * tbl_properties_links.php: undefined variable $db_is_information_schema + 2005-11-06 Sebastian Mendel * libraries/display_tbl.lib.php: bug #985399 MIME-based in print view / need to select the pk diff --git a/tbl_properties_links.php b/tbl_properties_links.php index 6038e2a5d..fe485b9d0 100644 --- a/tbl_properties_links.php +++ b/tbl_properties_links.php @@ -34,7 +34,7 @@ $tabs['sql']['text'] = $strSQL; $tabs['search']['icon'] = 'b_search.png'; $tabs['search']['text'] = $strSearch; -if ( ! $db_is_information_schema ) { +if ( isset($db_is_information_schema) && ! $db_is_information_schema ) { $tabs['insert']['icon'] = 'b_insrow.png'; $tabs['insert']['link'] = 'tbl_change.php'; $tabs['insert']['text'] = $strInsert; @@ -49,7 +49,7 @@ $tabs['export']['text'] = $strExport; * Don't display , "Import", "Operations" and "Empty" * for views and information_schema */ -if ( ! $tbl_is_view && ! $db_is_information_schema ) { +if ( ! $tbl_is_view && isset($db_is_information_schema) && ! $db_is_information_schema ) { $tabs['import']['icon'] = 'b_tblimport.png'; $tabs['import']['link'] = 'tbl_import.php'; $tabs['import']['text'] = $strImport; @@ -76,7 +76,7 @@ if ( ! $tbl_is_view && ! $db_is_information_schema ) { /** * no drop in information_schema */ -if ( ! $db_is_information_schema ) { +if ( isset($db_is_information_schema) && ! $db_is_information_schema ) { $tabs['drop']['icon'] = 'b_deltbl.png'; $tabs['drop']['link'] = 'sql.php'; $tabs['drop']['text'] = $strDrop;