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

killes@www.drop.org created an issue. See original summary.

  • oadaeh committed 2122fc0 on 7.x-2.x
    Issue #2744195 by killes@www.drop.org, oadaeh: Invalid string comparison
    
oadaeh’s picture

Status: Active » Fixed

I've committed the fix. Thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.