Skip to content

Commit

Permalink
Merge pull request #2973 from ChoiBU/database-result
Browse files Browse the repository at this point in the history
Fix variable name
  • Loading branch information
MGatner authored May 15, 2020
2 parents a2e469d + 7ba0ac2 commit 9bbc991
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions system/Database/BaseResult.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 9bbc991

Please sign in to comment.