Define array before using it

Signed-off-by: Michal Čihař <michal@cihar.com>
This commit is contained in:
Michal Čihař 2016-06-17 14:13:32 +02:00
parent cc6fd10b28
commit e25ab25d5f

View File

@ -640,6 +640,7 @@ function PMA_getHtmlToDisplayPrivilegesTable($db = '*',
}
if (empty($row)) {
if ($table == '*' && $GLOBALS['is_superuser']) {
$row = array();
if ($db == '*') {
$sql_query = 'SHOW COLUMNS FROM `mysql`.`user`;';
} elseif ($table == '*') {