diff --git a/modules/civiremote_event/src/Form/RegisterForm.php b/modules/civiremote_event/src/Form/RegisterForm.php index 98739c8..e710878 100644 --- a/modules/civiremote_event/src/Form/RegisterForm.php +++ b/modules/civiremote_event/src/Form/RegisterForm.php @@ -239,7 +239,7 @@ public function addConfirmDependencies($field, $field_name, &$group) { public function addPrefixSuffix($field, $field_name, &$group) { if (!empty($field['prefix'])) { $group[$field_name]['#prefix'] = '
'; - if ($field['prefix_display'] == 'dialog') { + if (isset($field['prefix_display']) && $field['prefix_display'] == 'dialog') { $html_id = Html::getUniqueId('dialog-' . $field_name . '-prefix'); $group[$field_name]['#prefix'] .= '