select and no table

This commit is contained in:
Marc Delisle
2002-06-27 12:28:56 +00:00
parent dd8dd992fe
commit 56c3b73038
4 changed files with 30 additions and 21 deletions

View File

@@ -23,7 +23,7 @@ else {
// Drop link if allowed
if (!$cfg['AllowUserDropDatabase']) {
// Check if the user is a Superuser
$result = @PMA_mysql_query('USE mysql');
$links_result = @PMA_mysql_query('USE mysql');
$cfg['AllowUserDropDatabase'] = (!PMA_mysql_error());
}
if ($cfg['AllowUserDropDatabase']) {