Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Update system/database/drivers/sqlsrv/sqlsrv_driver.php

  • Loading branch information...
commit d0822ced040859fea4566f073d997cb87ec54499 1 parent 2f32890
@TedThiCo TedThiCo authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  system/database/drivers/sqlsrv/sqlsrv_driver.php
View
2  system/database/drivers/sqlsrv/sqlsrv_driver.php
@@ -135,7 +135,7 @@ public function db_select($database = '')
$database = $this->database;
}
- if ($this->_execute('USE ['.$database.']'))
+ if ($this->_execute('USE '.$this->escape_identifiers($database)))
{
$this->database = $database;
return TRUE;
Please sign in to comment.
Something went wrong with that request. Please try again.