bug 722791

This commit is contained in:
Marc Delisle
2003-04-17 17:56:48 +00:00
parent beef306c0b
commit 84e765c21a
2 changed files with 4 additions and 3 deletions

View File

@@ -40,6 +40,5 @@ require('./header.inc.php3');
/**
* Checks for superuser privileges
*/
$is_superuser = @PMA_mysql_query('USE mysql', $userlink);
?>
$is_superuser = @PMA_mysql_query('SELECT COUNT(*) FROM mysql.user', $userlink);
?>