Skip to content

Commit

Permalink
Fix PHP 8 warning
Browse files Browse the repository at this point in the history
  • Loading branch information
zonky2 authored Sep 11, 2024
1 parent 0450178 commit 56105b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Resources/contao/dca/tl_map_points.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
'label' => &$GLOBALS['TL_LANG']['tl_map_points']['delete'],
'href' => 'act=delete',
'icon' => 'delete.svg',
'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
(
Expand Down

0 comments on commit 56105b8

Please sign in to comment.