From 7ba0ac2b55893c842e259b6106e0fec8c365196e Mon Sep 17 00:00:00 2001 From: ChoiBU Date: Mon, 11 May 2020 19:01:22 +0900 Subject: [PATCH] Fix variable name --- system/Database/BaseResult.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)