From ce68e023e25d57b1b6331d27acd21254641830ab Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Tue, 1 Nov 2005 18:46:42 +0000 Subject: [PATCH] undefined variable --- ChangeLog | 3 +++ server_privileges.php | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) 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