diff options
author | Adam Jackett <adam@darkhousemedia.com> | 2011-07-23 17:45:05 +0200 |
---|---|---|
committer | Phil Sturgeon <email@philsturgeon.co.uk> | 2011-08-13 19:23:21 +0200 |
commit | 40b28e9139f3486971fe6f13594d3f615a37862c (patch) | |
tree | 50b7a822ca4fa26b09d522394ba1a1413852dcc8 /system/database | |
parent | e9ebe463e42d4ab7f7d29f85c87b3f24004a64b8 (diff) |
Fixed having method to insert quotes.
Diffstat (limited to 'system/database')
-rw-r--r-- | system/database/DB_active_rec.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/database/DB_active_rec.php b/system/database/DB_active_rec.php index bc11ff436..0a25b3cb5 100644 --- a/system/database/DB_active_rec.php +++ b/system/database/DB_active_rec.php @@ -790,7 +790,7 @@ class CI_DB_active_record extends CI_DB_driver { if ($v != '') { - $v = ' '.$this->escape_str($v); + $v = ' '.$this->escape($v); } $this->ar_having[] = $prefix.$k.$v; |