Skip to content

Commit

Permalink
CS
Browse files Browse the repository at this point in the history
  • Loading branch information
Toflar committed Sep 29, 2021
1 parent 1f50b1e commit c328fdc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core-bundle/src/Resources/contao/drivers/DC_Table.php
Original file line number Diff line number Diff line change
Expand Up @@ -3856,7 +3856,7 @@ protected function generateTree($table, $id, $arrPrevNext, $blnHasSorting, $intM
$intSpacing = 20;

// Parent trail if enabled
if (($GLOBALS['TL_DCA'][$table]['list']['sorting']['showRootTrails'] ?? null) && isset($this->rootTrails[$id]) && \is_array($this->rootTrails[$id]))
if (($GLOBALS['TL_DCA'][$table]['list']['sorting']['showRootTrails'] ?? null) && isset($this->rootTrails[$id]) && \is_array($this->rootTrails[$id]))
{
foreach (array_reverse($this->rootTrails[$id]) as $pid)
{
Expand Down

0 comments on commit c328fdc

Please sign in to comment.