Skip to content

Commit

Permalink
format call
Browse files Browse the repository at this point in the history
  • Loading branch information
m-vo committed Feb 25, 2021
1 parent 1873bcc commit a1a16fe
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion core-bundle/src/Resources/contao/drivers/DC_Table.php
Expand Up @@ -3843,7 +3843,21 @@ public function ajaxTreeView($id, $level)

for ($i=0, $c=\count($arrIds); $i<$c; $i++)
{
$return .= ' ' . trim($this->generateTree($table, $arrIds[$i], array('p'=>$arrIds[($i-1)], 'n'=>$arrIds[($i+1)]), $hasSorting, $margin, ($blnClipboard ? $arrClipboard : false), ($id == $arrClipboard['id'] || (\is_array($arrClipboard['id']) && \in_array($id, $arrClipboard['id'])) || (!$blnPtable && !\is_array($arrClipboard['id']) && \in_array($id, $this->Database->getChildRecords($arrClipboard['id'], $table)))), $blnProtected));
$return .= ' ' . trim(
$this->generateTree(
$table,
$arrIds[$i],
array('p'=>$arrIds[($i-1)], 'n'=>$arrIds[($i+1)]),
$hasSorting,
$margin,
($blnClipboard ? $arrClipboard : false),
(
$id == $arrClipboard['id'] ||
(\is_array($arrClipboard['id']) && \in_array($id, $arrClipboard['id'])) ||
(!$blnPtable && !\is_array($arrClipboard['id']) && \in_array($id, $this->Database->getChildRecords($arrClipboard['id'], $table)))
),
$blnProtected
));
}

return $return;
Expand Down

0 comments on commit a1a16fe

Please sign in to comment.