diff options
author | Phil Sturgeon <email@philsturgeon.co.uk> | 2012-04-24 11:48:38 +0200 |
---|---|---|
committer | Phil Sturgeon <email@philsturgeon.co.uk> | 2012-04-24 11:48:38 +0200 |
commit | cdb584532c312a8b8c157c3e60e5c6cb02b55043 (patch) | |
tree | 943d05ba6c1a68a5545d109eb9befcc9677759d6 /system/database/drivers/sqlsrv/sqlsrv_driver.php | |
parent | 274f7d1b42d6ed83c3b22106c945590c05599cdc (diff) | |
parent | 4b47e980696fdcd9e3cf36e05e075c401d20ffbd (diff) |
Merge pull request #1286 from st2/patch-1
Fix Issue #1282 Update system/database/drivers/sqlsrv/sqlsrv_driver.php
Diffstat (limited to 'system/database/drivers/sqlsrv/sqlsrv_driver.php')
-rw-r--r-- | system/database/drivers/sqlsrv/sqlsrv_driver.php | 2 |
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; } // -------------------------------------------------------------------- |