diff options
author | Jon Ellis-Jones <john.ellis@skype.net> | 2012-07-07 11:30:29 +0200 |
---|---|---|
committer | Jon Ellis-Jones <john.ellis@skype.net> | 2012-07-07 11:30:29 +0200 |
commit | c4efbdcc91f8f9c75ebce6a60331c5239ced867f (patch) | |
tree | 85950b075f2cf7ea6d55eccae89864396ff7e7ed /system/database/DB_result.php | |
parent | b6490f507e6c0c470b91d50eb550cda96199d591 (diff) |
missing '$this->' causing custom result objects to return as null/empty arrays for ->row() and ->result() methods.
Diffstat (limited to 'system/database/DB_result.php')
-rw-r--r-- | system/database/DB_result.php | 2 |
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]; |