Skip to content

Commit 9bbc991

Browse files
authored
Merge pull request #2973 from ChoiBU/database-result
Fix variable name
2 parents a2e469d + 7ba0ac2 commit 9bbc991

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

system/Database/BaseResult.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,11 +167,11 @@ public function getCustomResultObject(string $className)
167167
$_data = null;
168168
if (($c = count($this->resultArray)) > 0)
169169
{
170-
$_data = 'result_array';
170+
$_data = 'resultArray';
171171
}
172172
elseif (($c = count($this->resultObject)) > 0)
173173
{
174-
$_data = 'result_object';
174+
$_data = 'resultObject';
175175
}
176176

177177
if ($_data !== null)

0 commit comments

Comments
 (0)