mirror of
https://github.com/vrana/adminer.git
synced 2025-08-13 01:54:00 +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) {
|
function select_db($database) {
|
||||||
return $this->query("USE $database");
|
return $this->query("USE " . idf_escape($database));
|
||||||
}
|
}
|
||||||
|
|
||||||
function query($query, $unbuffered = false) {
|
function query($query, $unbuffered = false) {
|
||||||
|
Reference in New Issue
Block a user