Do not silence warnings with @

This commit is contained in:
David Molineus
2023-02-20 10:28:21 +01:00
committed by GitHub
parent 35e86ec1b9
commit ae800257d8
8 changed files with 8 additions and 8 deletions

View File

@@ -79,7 +79,7 @@ $GLOBALS['TL_DCA']['tl_leaflet_popup'] = [
'label' => &$GLOBALS['TL_LANG']['tl_leaflet_popup']['delete'],
'href' => 'act=delete',
'icon' => 'delete.gif',
'attributes' => 'onclick="if(!confirm(\'' . @$GLOBALS['TL_LANG']['MSC']['deleteConfirm']
'attributes' => 'onclick="if(!confirm(\'' . ($GLOBALS['TL_LANG']['MSC']['deleteConfirm'] ?? '')
. '\'))return false;Backend.getScrollOffset()"',
],
'toggle' => [