diff options
author | Andrey Andreev <narf@bofh.bg> | 2012-07-07 12:54:44 +0200 |
---|---|---|
committer | Andrey Andreev <narf@bofh.bg> | 2012-07-07 12:54:44 +0200 |
commit | a64c4fbdf8f3c2c80a2964f237db79129d004c31 (patch) | |
tree | 85950b075f2cf7ea6d55eccae89864396ff7e7ed | |
parent | b6490f507e6c0c470b91d50eb550cda96199d591 (diff) | |
parent | c4efbdcc91f8f9c75ebce6a60331c5239ced867f (diff) |
Merge pull request #1587 from jonnu/broken-cro
missing '$this->' causing custom result objects to return as null/empty ...
-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]; |