diff options
author | mattab <matthieu.aubry@gmail.com> | 2014-12-10 08:39:09 +0300 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2014-12-10 08:39:09 +0300 |
commit | 8b094d74f9a12d6fd575af42a8690aeddacc0432 (patch) | |
tree | d44f4cdc2e3d8cfdafe024f2afe29fbcbeca41d0 /core/DataTable.php | |
parent | 76e5d927c0d6ba31bfbacb843db3d1c78bea5d24 (diff) |
Remove code that we're not sure why it's here
Diffstat (limited to 'core/DataTable.php')
-rw-r--r-- | core/DataTable.php | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/core/DataTable.php b/core/DataTable.php index 53686f2feb..c7435b2b3c 100644 --- a/core/DataTable.php +++ b/core/DataTable.php @@ -1114,10 +1114,7 @@ class DataTable implements DataTableInterface, \IteratorAggregate, \ArrayAccess $aSerializedDataTable = array(); foreach ($this->rows as $row) { $subTable = $row->getSubtable(); - if (!$subTable) { - // Not sure if this code is needed - $row->removeSubtable(); - } else { + if ($subTable) { $depth++; $aSerializedDataTable = $aSerializedDataTable + $subTable->getSerialized($maximumRowsInSubDataTable, $maximumRowsInSubDataTable, $columnToSortByBeforeTruncation); $depth--; |