From 8c5d5525d0b5602e125b5c9784a7c88b9f63a303 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Sat, 9 Feb 2013 14:53:07 -0500 Subject: Reset db_applied after find(). Fixes #1998. --- system/libraries/ORM.php | 1 + 1 file changed, 1 insertion(+) (limited to 'system') diff --git a/system/libraries/ORM.php b/system/libraries/ORM.php index eb34221c..16e047bc 100644 --- a/system/libraries/ORM.php +++ b/system/libraries/ORM.php @@ -1469,6 +1469,7 @@ class ORM_Core { // Load the result $result = $this->db_builder->execute($this->db); + $this->db_applied = array(); if ($array === TRUE) { -- cgit v1.2.3