fixed a followup bug
This commit is contained in:
@@ -66,7 +66,7 @@ function PMA_extractPrivInfo($row = '', $enableHTML = FALSE)
|
|||||||
} else {
|
} else {
|
||||||
$privs[] = 'USAGE';
|
$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) {
|
if ($enableHTML) {
|
||||||
$privs = array('<dfn title="' . $GLOBALS['strPrivDescAllPrivileges'] . '">ALL PRIVILEGES</dfn>');
|
$privs = array('<dfn title="' . $GLOBALS['strPrivDescAllPrivileges'] . '">ALL PRIVILEGES</dfn>');
|
||||||
} else {
|
} else {
|
||||||
|
Reference in New Issue
Block a user