summaryrefslogtreecommitdiffstats
path: root/system/database/DB_active_rec.php
diff options
context:
space:
mode:
authorPhil Sturgeon <email@philsturgeon.co.uk>2011-12-20 11:34:55 +0100
committerPhil Sturgeon <email@philsturgeon.co.uk>2011-12-20 11:34:55 +0100
commitfec2f59721af5721ede0d2b60075910a6b646c03 (patch)
tree3aabfb00dbd055af10c376271d874cae8d292f49 /system/database/DB_active_rec.php
parentdc3e4bedb39afe30d95635e5258aaecec4dfd74c (diff)
parent0d91fd2956812e07905d8047ef95a0e556edbb1a (diff)
Merge pull request #801 from Mancy/master
Fixed issue #798: Update with Like now works
Diffstat (limited to 'system/database/DB_active_rec.php')
-rw-r--r--system/database/DB_active_rec.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/database/DB_active_rec.php b/system/database/DB_active_rec.php
index 43920772a..41950e7d8 100644
--- a/system/database/DB_active_rec.php
+++ b/system/database/DB_active_rec.php
@@ -1424,7 +1424,7 @@ class CI_DB_active_record extends CI_DB_driver {
$this->limit($limit);
}
- $sql = $this->_update($this->_protect_identifiers($this->ar_from[0], TRUE, NULL, FALSE), $this->ar_set, $this->ar_where, $this->ar_orderby, $this->ar_limit);
+ $sql = $this->_update($this->_protect_identifiers($this->ar_from[0], TRUE, NULL, FALSE), $this->ar_set, $this->ar_where, $this->ar_orderby, $this->ar_limit, $this->ar_like);
$this->_reset_write();
return $this->query($sql);