summaryrefslogtreecommitdiffstats
path: root/system/database
diff options
context:
space:
mode:
Diffstat (limited to 'system/database')
-rw-r--r--system/database/DB_result.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/database/DB_result.php b/system/database/DB_result.php
index 399e45120..94782b291 100644
--- a/system/database/DB_result.php
+++ b/system/database/DB_result.php
@@ -158,7 +158,7 @@ class CI_DB_result {
while ($row = $this->_fetch_object($class_name))
{
- $custom_result_object[$class_name][] = $row;
+ $this->custom_result_object[$class_name][] = $row;
}
return $this->custom_result_object[$class_name];