summaryrefslogtreecommitdiffstats
path: root/system/database/DB_result.php
diff options
context:
space:
mode:
authorAndrey Andreev <narf@bofh.bg>2012-07-07 12:54:44 +0200
committerAndrey Andreev <narf@bofh.bg>2012-07-07 12:54:44 +0200
commita64c4fbdf8f3c2c80a2964f237db79129d004c31 (patch)
tree85950b075f2cf7ea6d55eccae89864396ff7e7ed /system/database/DB_result.php
parentb6490f507e6c0c470b91d50eb550cda96199d591 (diff)
parentc4efbdcc91f8f9c75ebce6a60331c5239ced867f (diff)
Merge pull request #1587 from jonnu/broken-cro
missing '$this->' causing custom result objects to return as null/empty ...
Diffstat (limited to 'system/database/DB_result.php')
-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];