diff --git a/system/Database/BaseResult.php b/system/Database/BaseResult.php index 5e6abe357863..5c6500e1bb4c 100644 --- a/system/Database/BaseResult.php +++ b/system/Database/BaseResult.php @@ -167,11 +167,11 @@ public function getCustomResultObject(string $className) $_data = null; if (($c = count($this->resultArray)) > 0) { - $_data = 'result_array'; + $_data = 'resultArray'; } elseif (($c = count($this->resultObject)) > 0) { - $_data = 'result_object'; + $_data = 'resultObject'; } if ($_data !== null)