Permalink
Browse files

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

  • Loading branch information...
1 parent 2f32890 commit d0822ced040859fea4566f073d997cb87ec54499 @TedThiCo TedThiCo committed Nov 19, 2012
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;

0 comments on commit d0822ce

Please sign in to comment.