summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEco91 <Emanuel.Kardinal@t-online.de>2012-11-19 20:49:38 +0100
committerEco91 <Emanuel.Kardinal@t-online.de>2012-11-19 20:49:38 +0100
commitd0822ced040859fea4566f073d997cb87ec54499 (patch)
tree1a1a92cd03aabebf5d215797d6d7782824b24be5
parent2f32890a75f3630cf95467929c3fa7c48f4c8b44 (diff)
Update system/database/drivers/sqlsrv/sqlsrv_driver.php
-rw-r--r--system/database/drivers/sqlsrv/sqlsrv_driver.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/database/drivers/sqlsrv/sqlsrv_driver.php b/system/database/drivers/sqlsrv/sqlsrv_driver.php
index a5024859a..ee9823ed1 100644
--- a/system/database/drivers/sqlsrv/sqlsrv_driver.php
+++ b/system/database/drivers/sqlsrv/sqlsrv_driver.php
@@ -135,7 +135,7 @@ class CI_DB_sqlsrv_driver extends CI_DB {
$database = $this->database;
}
- if ($this->_execute('USE ['.$database.']'))
+ if ($this->_execute('USE '.$this->escape_identifiers($database)))
{
$this->database = $database;
return TRUE;