summaryrefslogtreecommitdiffstats
path: root/system/database/drivers/sqlsrv
diff options
context:
space:
mode:
authorst2 <st2@webxway.com>2012-04-24 11:45:44 +0200
committerst2 <st2@webxway.com>2012-04-24 11:45:44 +0200
commit4b47e980696fdcd9e3cf36e05e075c401d20ffbd (patch)
tree943d05ba6c1a68a5545d109eb9befcc9677759d6 /system/database/drivers/sqlsrv
parent274f7d1b42d6ed83c3b22106c945590c05599cdc (diff)
Update system/database/drivers/sqlsrv/sqlsrv_driver.php
Diffstat (limited to 'system/database/drivers/sqlsrv')
-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 951567033..c318f3060 100644
--- a/system/database/drivers/sqlsrv/sqlsrv_driver.php
+++ b/system/database/drivers/sqlsrv/sqlsrv_driver.php
@@ -440,7 +440,7 @@ class CI_DB_sqlsrv_driver extends CI_DB {
$where .= ($where === '' ? ' WHERE ' : ' AND ').implode(' ', $like);
}
- return 'UPDATE '.$table.' SET '.implode(', ', $valstr).' WHERE '.$where;
+ return 'UPDATE '.$table.' SET '.implode(', ', $valstr).$where;
}
// --------------------------------------------------------------------