Skip to content

Commit

Permalink
this code is actually tested for in DataTableTest::test_serializeFail…
Browse files Browse the repository at this point in the history
…s_onSubTableNotFound
  • Loading branch information
mattab committed Dec 10, 2014
1 parent 2727947 commit bc0fd9e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/DataTable.php
Original file line number Diff line number Diff line change
Expand Up @@ -1118,6 +1118,8 @@ public function getSerialized($maximumRowsInDataTable = null,
$depth++;
$aSerializedDataTable = $aSerializedDataTable + $subTable->getSerialized($maximumRowsInSubDataTable, $maximumRowsInSubDataTable, $columnToSortByBeforeTruncation);
$depth--;
} else {
$row->removeSubtable();
}
}
// we load the current Id of the DataTable
Expand Down

0 comments on commit bc0fd9e

Please sign in to comment.