undefined db_is_information_schema

This commit is contained in:
Marc Delisle
2005-11-07 20:28:31 +00:00
parent 10952d7ab3
commit 8a66a74cf8
2 changed files with 6 additions and 3 deletions

View File

@@ -5,6 +5,9 @@ phpMyAdmin - Changelog
$Id$
$Source$
2005-11-07 Marc Delisle <lem9@users.sourceforge.net>
* tbl_properties_links.php: undefined variable $db_is_information_schema
2005-11-06 Sebastian Mendel <cybot_tm@users.sourceforge.net>
* libraries/display_tbl.lib.php:
bug #985399 MIME-based in print view / need to select the pk

View File

@@ -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;