Skip to content

Commit

Permalink
fix accessing undefined variable
Browse files Browse the repository at this point in the history
  • Loading branch information
m-vo committed Feb 25, 2021
1 parent 1873bcc commit 36dcf5e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core-bundle/src/Resources/contao/classes/Backend.php
Expand Up @@ -894,7 +894,7 @@ public static function addPagesBreadcrumb($strKey='tl_page_node')
$arrLinks = array_reverse($arrLinks);

// Insert breadcrumb menu
$GLOBALS['TL_DCA']['tl_page']['list']['sorting']['breadcrumb'] .= '
$GLOBALS['TL_DCA']['tl_page']['list']['sorting']['breadcrumb'] = ($GLOBALS['TL_DCA']['tl_page']['list']['sorting']['breadcrumb'] ?? '') . '
<nav aria-label="' . $GLOBALS['TL_LANG']['MSC']['breadcrumbMenu'] . '">
<ul id="tl_breadcrumb">
Expand Down Expand Up @@ -1068,7 +1068,7 @@ public static function addFilesBreadcrumb($strKey='tl_files_node')
$GLOBALS['TL_DCA']['tl_files']['list']['sorting']['root'] = array($strNode);

// Insert breadcrumb menu
$GLOBALS['TL_DCA']['tl_files']['list']['sorting']['breadcrumb'] .= '
$GLOBALS['TL_DCA']['tl_files']['list']['sorting']['breadcrumb'] = ($GLOBALS['TL_DCA']['tl_files']['list']['sorting']['breadcrumb'] ?? '') . '
<nav aria-label="' . $GLOBALS['TL_LANG']['MSC']['breadcrumbMenu'] . '">
<ul id="tl_breadcrumb">
Expand Down

0 comments on commit 36dcf5e

Please sign in to comment.