1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-12 09:34:10 +02:00

Quote MS SQL database name (bug #3576248)

This commit is contained in:
Jakub Vrana
2012-12-01 15:11:01 -08:00
parent ee8ffa575f
commit d5d8a6c8bc

View File

@@ -38,7 +38,7 @@ if (isset($_GET["mssql"])) {
}
function select_db($database) {
return $this->query("USE $database");
return $this->query("USE " . idf_escape($database));
}
function query($query, $unbuffered = false) {