undefined variable

This commit is contained in:
Marc Delisle
2005-11-01 18:46:42 +00:00
parent a289fc337a
commit ce68e023e2
2 changed files with 5 additions and 2 deletions

View File

@@ -5,6 +5,9 @@ phpMyAdmin - Changelog
$Id$
$Source$
2005-11-01 Marc Delisle <lem9@users.sourceforge.net>
* server_privileges.php: undefined variable when changing a password
2005-11-01 Sebastian Mendel <cybot_tm@users.sourceforge.net>
* libraries/common.lib.php:
bug #1342332 Error messages wrongly formatted.

View File

@@ -1557,9 +1557,9 @@ if (empty($adduser) && empty($checkprivs)) {
PMA_displayPrivTable((empty($dbname) ? '*' : $dbname), ((empty($dbname) || empty($tablename)) ? '*' : $tablename), TRUE, 3);
echo '</form>' . "\n";
if ( empty( $tablename ) && ! $dbname_is_wildcard ) {
if ( empty( $tablename ) && isset($dbname_is_wildcard) && ! $dbname_is_wildcard ) {
// na table name was given, display all table specific rights
// no table name was given, display all table specific rights
// but only if $dbname contains no wildcards
// table header