summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
authorPhil Sturgeon <email@philsturgeon.co.uk>2012-04-24 11:48:38 +0200
committerPhil Sturgeon <email@philsturgeon.co.uk>2012-04-24 11:48:38 +0200
commitcdb584532c312a8b8c157c3e60e5c6cb02b55043 (patch)
tree943d05ba6c1a68a5545d109eb9befcc9677759d6 /system
parent274f7d1b42d6ed83c3b22106c945590c05599cdc (diff)
parent4b47e980696fdcd9e3cf36e05e075c401d20ffbd (diff)
Merge pull request #1286 from st2/patch-1
Fix Issue #1282 Update system/database/drivers/sqlsrv/sqlsrv_driver.php
Diffstat (limited to 'system')
-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;
}
// --------------------------------------------------------------------