Skip to content

Commit

Permalink
Fixed hardcoded table name
Browse files Browse the repository at this point in the history
  • Loading branch information
aschempp committed Jul 13, 2017
1 parent e39a341 commit 368b144
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Resources/contao/drivers/DC_Table.php
Original file line number Diff line number Diff line change
Expand Up @@ -6137,7 +6137,7 @@ public function initPicker(PickerInterface $picker)
// Allow only those roots that are allowed in root nodes
if (!empty($this->root))
{
$arrRoot = array_intersect($arrRoot, $this->Database->getChildRecords($GLOBALS['TL_DCA'][$this->strTable]['list']['sorting']['root'], 'tl_page'));
$arrRoot = array_intersect($arrRoot, $this->Database->getChildRecords($GLOBALS['TL_DCA'][$this->strTable]['list']['sorting']['root'], $this->strTable));
$arrRoot = $this->eliminateNestedPages($arrRoot);
}

Expand Down

0 comments on commit 368b144

Please sign in to comment.