Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed having method to insert quotes.

  • Loading branch information...
commit 40b28e9139f3486971fe6f13594d3f615a37862c 1 parent e9ebe46
Adam Jackett authored philsturgeon committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  system/database/DB_active_rec.php
View
2  system/database/DB_active_rec.php
@@ -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;
Please sign in to comment.
Something went wrong with that request. Please try again.