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:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user