diff --git a/ChangeLog b/ChangeLog index be9ccff15..68a647752 100755 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,9 @@ phpMyAdmin - Changelog $Id$ $Source$ +2005-11-01 Marc Delisle + * server_privileges.php: undefined variable when changing a password + 2005-11-01 Sebastian Mendel * libraries/common.lib.php: bug #1342332 Error messages wrongly formatted. diff --git a/server_privileges.php b/server_privileges.php index ffcbfa1d6..6cfc86241 100644 --- a/server_privileges.php +++ b/server_privileges.php @@ -1557,9 +1557,9 @@ if (empty($adduser) && empty($checkprivs)) { PMA_displayPrivTable((empty($dbname) ? '*' : $dbname), ((empty($dbname) || empty($tablename)) ? '*' : $tablename), TRUE, 3); echo '' . "\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