Save bytes

This commit is contained in:
Jakub Vrana
2011-06-04 04:28:17 +02:00
parent 955e6b44b3
commit 8372913ab5
3 changed files with 3 additions and 3 deletions

View File

@@ -111,7 +111,7 @@ if ($_POST) {
if ($old_pass != "") {
$row["hashed"] = true;
}
$grants[$_GET["db"] != "" && $_GET["user"] == "" ? idf_escape($_GET["db"]) . ".*" : ""] = array();
$grants[DB != "" && !isset($_GET["host"]) ? idf_escape($_GET["db"]) . ".*" : ""] = array();
}
?>