Skip to content

Commit

Permalink
[fix] Missing stack array for root data mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
catfan committed Aug 9, 2019
1 parent b9dfce4 commit 25192cf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Medoo.php
Original file line number Diff line number Diff line change
Expand Up @@ -1189,6 +1189,8 @@ protected function dataMap($data, $columns, $column_map, &$stack, $root, &$resul
}
else
{
$current_stack = [];

$this->dataMap($data, $columns, $column_map, $current_stack, false, $result);

$result[] = $current_stack;
Expand Down

0 comments on commit 25192cf

Please sign in to comment.