bug 722791

This commit is contained in:
Marc Delisle
2003-04-17 18:50:38 +00:00
parent 7a1997aaf9
commit 17ae297ed1

View File

@@ -44,7 +44,7 @@ require('./header.inc.php3');
// priv CREATE TEMPORARY TABLES or LOCK TABLES can do a 'USE mysql'
// (even if they cannot see the tables)
$is_superuser = PMA_mysql_query('SELECT COUNT(*) FROM mysql.user', $userlink);
$is_superuser = @PMA_mysql_query('SELECT COUNT(*) FROM mysql.user', $userlink);
// now, select the mysql db
if ($is_superuser) {