From 03d783ba0bbee1a5f76b6ad686bbcee59a2e21fb Mon Sep 17 00:00:00 2001 From: Derek Allard Date: Sun, 3 May 2009 19:45:45 +0000 Subject: bug fix and typo fixes --- system/database/DB_active_rec.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'system/database/DB_active_rec.php') diff --git a/system/database/DB_active_rec.php b/system/database/DB_active_rec.php index d07255855..07021999f 100644 --- a/system/database/DB_active_rec.php +++ b/system/database/DB_active_rec.php @@ -1380,7 +1380,7 @@ class CI_DB_active_record extends CI_DB_driver { $this->limit($limit); } - if (count($this->ar_where) == 0 && count($this->ar_wherein) == 0 && count($this->ar_like)) + if (count($this->ar_where) == 0 && count($this->ar_wherein) == 0 && count($this->ar_like) == 0) { if ($this->db_debug) { -- cgit v1.2.3-24-g4f1b