bug #1434576, undefined variable db

This commit is contained in:
Marc Delisle
2006-02-19 14:34:25 +00:00
parent c7bb1d9871
commit 4532d8d0b0
2 changed files with 2 additions and 1 deletions

View File

@@ -7,6 +7,7 @@ $Source$
2006-02-19 Marc Delisle <lem9@users.sourceforge.net> 2006-02-19 Marc Delisle <lem9@users.sourceforge.net>
* libraries/common.lib.php: re-establish previous error reporting mode * libraries/common.lib.php: re-establish previous error reporting mode
* sql.php: bug #1434576, undefined variable $db
2006-02-19 Sebastian Mendel <cybot_tm@users.sourceforge.net> 2006-02-19 Sebastian Mendel <cybot_tm@users.sourceforge.net>
* libraries/common.lib.php PMA_getUvaCondition(): * libraries/common.lib.php PMA_getUvaCondition():

View File

@@ -739,7 +739,7 @@ else {
} }
// hide edit and delete links for information_schema // hide edit and delete links for information_schema
if ( PMA_MYSQL_INT_VERSION >= 50002 && $db == 'information_schema' ) { if ( PMA_MYSQL_INT_VERSION >= 50002 && isset($db) && $db == 'information_schema' ) {
$disp_mode = 'nnnn110111'; $disp_mode = 'nnnn110111';
} }