From 85143dcaa3c6e387a19d5fbf36a1356260472ab1 Mon Sep 17 00:00:00 2001 From: "Alexander M. Turek" Date: Wed, 25 Dec 2002 21:42:15 +0000 Subject: [PATCH] fixed a followup bug --- server_privileges.php3 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server_privileges.php3 b/server_privileges.php3 index 19bfb926b..27cbb33c3 100644 --- a/server_privileges.php3 +++ b/server_privileges.php3 @@ -66,7 +66,7 @@ function PMA_extractPrivInfo($row = '', $enableHTML = FALSE) } else { $privs[] = 'USAGE'; } - } else if ($allPrivileges && isset($GLOBALS['grant_count']) && count($privs) == $GLOBALS['grant_count']) { + } else if ($allPrivileges && (!isset($GLOBALS['grant_count']) || count($privs) == $GLOBALS['grant_count'])) { if ($enableHTML) { $privs = array('ALL PRIVILEGES'); } else {