Use database name in creating new users
This commit is contained in:
parent
ab20c18c2e
commit
0069d9f13e
|
@ -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();
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
Loading…
Reference in a new issue