-
- Downloads
-
Actually I think this issue is with the submitForm function.
SettingsForm.php, line 292, the REROUTE_EMAIL_ROLES is defined. That form value can be empty, so we default to an empty array, since its going to hit that loop.
->set(REROUTE_EMAIL_ROLES, array_values(array_filter($form_state->getValue(REROUTE_EMAIL_ROLES)) ?? []))
This fixes the default_value and the loop issue at the same time.
Please register or sign in to comment