diff options
author | Adam Jackett <adam@darkhousemedia.com> | 2011-07-23 17:45:05 +0200 |
---|---|---|
committer | Adam Jackett <adam@darkhousemedia.com> | 2011-07-23 19:37:48 +0200 |
commit | e611d8cfb9fb8d056fa75ec40b6e07c12e57dd53 (patch) | |
tree | d8e26f67a32313070822a8934ed04c0bb011e0e9 | |
parent | 8731f641de823fcdcb8b2a2fa6034fca8fe4a164 (diff) |
Fixed having method to insert quotes.
-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; |