Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
In the function email_verify_get_form_fields is a typo
if (!empty($form) && !empty($field) && $form = $form_id) {
which should be
if (!empty($form) && !empty($field) && $form == $form_id) {
Otherwise that function will return something for all the forms and the email check will be triggered for all the forms and in case you are on a dev machine with no valid emails some forms won't validate and ....
Comments
Comment #3
oadaeh CreditAttribution: oadaeh at Hook 42 commentedI've committed the fix. Thanks!