diff --git a/library/NotificationCenter/AutoSuggester.php b/library/NotificationCenter/AutoSuggester.php index 87c72abe..cafddd7a 100644 --- a/library/NotificationCenter/AutoSuggester.php +++ b/library/NotificationCenter/AutoSuggester.php @@ -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'); } }