missing '$this->' causing custom result objects to return as null/empty arrays for ->row() and ->result() methods.
diff --git a/system/database/DB_result.php b/system/database/DB_result.php
index 399e451..94782b2 100644
--- a/system/database/DB_result.php
+++ b/system/database/DB_result.php
@@ -158,7 +158,7 @@
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];