Skip to content

Commit

Permalink
Add a tag for the top parent element
Browse files Browse the repository at this point in the history
  • Loading branch information
leofeyer committed Dec 9, 2020
1 parent 4b61ac2 commit 5b4a03d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core-bundle/src/Resources/contao/classes/DataContainer.php
Expand Up @@ -1312,6 +1312,8 @@ private function addPtableTags($strTable, $intId, &$tags)
{
if (empty($GLOBALS['TL_DCA'][$strTable]['config']['ptable']))
{
$tags[] = 'contao.db.' . $strTable;

return;
}

Expand Down

0 comments on commit 5b4a03d

Please sign in to comment.