diff options
author | admin <devnull@localhost> | 2006-11-03 18:17:02 +0100 |
---|---|---|
committer | admin <devnull@localhost> | 2006-11-03 18:17:02 +0100 |
commit | c50747cfe50a4c6b7e8bde81d0f56c3bd26bd29a (patch) | |
tree | d71bdc2f0badf0221a0db91db38f0f7ddf12bfb8 /system | |
parent | 2f0dc10e48e3f766ff558fd8856a45205881512f (diff) |
Diffstat (limited to 'system')
-rw-r--r-- | system/database/DB_active_rec.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/system/database/DB_active_rec.php b/system/database/DB_active_rec.php index b41b929d7..90f58ae0e 100644 --- a/system/database/DB_active_rec.php +++ b/system/database/DB_active_rec.php @@ -486,8 +486,9 @@ class CI_DB_active_record extends CI_DB_driver { $sql = $this->_compile_select(); + $result = $this->query($sql); $this->_reset_select(); - return $this->query($sql); + return $result; } // -------------------------------------------------------------------- @@ -522,8 +523,9 @@ class CI_DB_active_record extends CI_DB_driver { $sql = $this->_compile_select(); + $result = $this->query($sql); $this->_reset_select(); - return $this->query($sql); + return $result; } // -------------------------------------------------------------------- |