diff options
author | Phil Sturgeon <email@philsturgeon.co.uk> | 2011-08-09 22:56:45 +0200 |
---|---|---|
committer | Phil Sturgeon <email@philsturgeon.co.uk> | 2011-08-09 22:56:45 +0200 |
commit | 03fb8ddfb9a9ce827405c106863db5d4678a6636 (patch) | |
tree | 58872e765d2d431851979a3d86de52619a385539 /system/database/DB_active_rec.php | |
parent | 8731f641de823fcdcb8b2a2fa6034fca8fe4a164 (diff) | |
parent | db3fada432a270e1760731bf08784e8565fa8efb (diff) |
Merge pull request #30 from darkhouse/feature/having_fix
Having method wasn't adding quotes for dates.
Diffstat (limited to 'system/database/DB_active_rec.php')
-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; |