summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 b97fb11cd..add0b8c94 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 {
function orhaving($key, $value = '')
{
- return $this->or_havinggroup_by($key, $value = '');
+ return $this->or_having($key, $value = '');
}
// --------------------------------------------------------------------