From 6b0d9de3f97f97d4248d82381b446e48c29da114 Mon Sep 17 00:00:00 2001 From: Fritz Michael Gschwantner Date: Wed, 27 Sep 2023 11:04:23 +0100 Subject: [PATCH] fix warning --- src/Resources/contao/dca/tl_css_style_selector.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Resources/contao/dca/tl_css_style_selector.php b/src/Resources/contao/dca/tl_css_style_selector.php index a52b25e..92b13c7 100644 --- a/src/Resources/contao/dca/tl_css_style_selector.php +++ b/src/Resources/contao/dca/tl_css_style_selector.php @@ -83,7 +83,7 @@ 'label' => &$GLOBALS['TL_LANG']['tl_css_style_selector']['delete'], 'href' => 'act=delete', 'icon' => 'delete.gif', - 'attributes' => 'onclick="if(!confirm(\'' . $GLOBALS['TL_LANG']['MSC']['deleteConfirm'] . '\'))return false;Backend.getScrollOffset()"' + 'attributes' => 'onclick="if(!confirm(\'' . ($GLOBALS['TL_LANG']['MSC']['deleteConfirm'] ?? '') . '\'))return false;Backend.getScrollOffset()"' ), 'show' => array (