Skip to content
Extraits de code Groupes Projets
Valider 8b094d74 rédigé par mattab's avatar mattab
Parcourir les fichiers

Remove code that we're not sure why it's here

parent 76e5d927
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -1114,10 +1114,7 @@ class DataTable implements DataTableInterface, \IteratorAggregate, \ArrayAccess ...@@ -1114,10 +1114,7 @@ class DataTable implements DataTableInterface, \IteratorAggregate, \ArrayAccess
$aSerializedDataTable = array(); $aSerializedDataTable = array();
foreach ($this->rows as $row) { foreach ($this->rows as $row) {
$subTable = $row->getSubtable(); $subTable = $row->getSubtable();
if (!$subTable) { if ($subTable) {
// Not sure if this code is needed
$row->removeSubtable();
} else {
$depth++; $depth++;
$aSerializedDataTable = $aSerializedDataTable + $subTable->getSerialized($maximumRowsInSubDataTable, $maximumRowsInSubDataTable, $columnToSortByBeforeTruncation); $aSerializedDataTable = $aSerializedDataTable + $subTable->getSerialized($maximumRowsInSubDataTable, $maximumRowsInSubDataTable, $columnToSortByBeforeTruncation);
$depth--; $depth--;
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter