Skip to content

Commit

Permalink
fixes #4287 regression in reportData processedReport output
Browse files Browse the repository at this point in the history
  • Loading branch information
tsteur committed Nov 10, 2013
1 parent bc758f2 commit fe2f563
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions core/DataTable/Renderer/Json.php
Expand Up @@ -70,6 +70,10 @@ protected function renderTable($table)
|| $tab instanceof DataTable
|| $tab instanceof DataTable\Simple) {
$array[$key] = $this->convertDataTableToArray($tab);

if (!is_array($array)) {
$array = array('value' => $array);
}
}
}

Expand Down

0 comments on commit fe2f563

Please sign in to comment.