Skip to content

Commit

Permalink
fix PHP 8 warning
Browse files Browse the repository at this point in the history
  • Loading branch information
fritzmg authored Mar 23, 2022
1 parent a93be69 commit b216757
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/NotificationCenter/AutoSuggester.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public static function load($dc)
static::$strType = static::$objNotification->type;

foreach ($GLOBALS['TL_DCA'][static::$strTable]['fields'] as $field => $arrConfig) {
if ('nc_tokens' === $arrConfig['eval']['rgxp'] ?? null) {
if ('nc_tokens' === ($arrConfig['eval']['rgxp'] ?? null)) {
$GLOBALS['TL_DCA'][static::$strTable]['fields'][$field]['wizard'][] = array('NotificationCenter\AutoSuggester', 'init');
}
}
Expand Down

0 comments on commit b216757

Please sign in to comment.