Quote MS SQL database name (bug #3576248)
This commit is contained in:
parent
ee8ffa575f
commit
d5d8a6c8bc
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue