summaryrefslogtreecommitdiffstats
path: root/system/database/DB_active_rec.php
diff options
context:
space:
mode:
authorAdam Jackett <adam@darkhousemedia.com>2011-07-23 17:45:05 +0200
committerAdam Jackett <adam@darkhousemedia.com>2011-07-23 19:37:48 +0200
commite611d8cfb9fb8d056fa75ec40b6e07c12e57dd53 (patch)
treed8e26f67a32313070822a8934ed04c0bb011e0e9 /system/database/DB_active_rec.php
parent8731f641de823fcdcb8b2a2fa6034fca8fe4a164 (diff)
Fixed having method to insert quotes.
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 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;