diff options
-rw-r--r-- | system/database/DB_result.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/system/database/DB_result.php b/system/database/DB_result.php index 821a0ea07..40b8fbb74 100644 --- a/system/database/DB_result.php +++ b/system/database/DB_result.php @@ -334,6 +334,7 @@ class CI_DB_result { if ($type === 'object') return $this->row_object($n); elseif ($type === 'array') return $this->row_array($n); + return $this->custom_row_object($n, $type); } |