mirror of
https://github.com/vrana/adminer.git
synced 2025-08-12 01:24:17 +02:00
Use database name in creating new users
This commit is contained in:
@@ -113,7 +113,7 @@ if ($_POST) {
|
||||
if ($old_pass != "") {
|
||||
$row["hashed"] = true;
|
||||
}
|
||||
$grants[(DB != "" && !isset($_GET["host"]) ? idf_escape(addcslashes(DB, "%_")) : "") . ".*"] = array();
|
||||
$grants[(DB == "" || $grants ? "" : idf_escape(addcslashes(DB, "%_"))) . ".*"] = array();
|
||||
}
|
||||
|
||||
?>
|
||||
|
Reference in New Issue
Block a user