summaryrefslogtreecommitdiffstats
path: root/system/database
diff options
context:
space:
mode:
authorJon Ellis-Jones <john.ellis@skype.net>2012-07-07 11:30:29 +0200
committerJon Ellis-Jones <john.ellis@skype.net>2012-07-07 11:30:29 +0200
commitc4efbdcc91f8f9c75ebce6a60331c5239ced867f (patch)
tree85950b075f2cf7ea6d55eccae89864396ff7e7ed /system/database
parentb6490f507e6c0c470b91d50eb550cda96199d591 (diff)
missing '$this->' causing custom result objects to return as null/empty arrays for ->row() and ->result() methods.
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];