Skip to content

Commit

Permalink
Fixed having method to insert quotes.
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Jackett authored and Phil Sturgeon committed Aug 13, 2011
1 parent e9ebe46 commit 40b28e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/database/DB_active_rec.php
Original file line number Diff line number Diff line change
Expand Up @@ -790,7 +790,7 @@ protected function _having($key, $value = '', $type = 'AND ', $escape = TRUE)

if ($v != '')
{
$v = ' '.$this->escape_str($v);
$v = ' '.$this->escape($v);
}

$this->ar_having[] = $prefix.$k.$v;
Expand Down

0 comments on commit 40b28e9

Please sign in to comment.