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.
I'm seeing a minor issue, it looks like in the switch case for when we link a contact to an existing Drupal user where the email DO NOT match, has the potential of throwing an undefined variable notice.
It seems like something may need to be assigned to the $default variable, probably 0 as I'm not sure why you would need a default value for the existing form field. I've added the notice, function and file line number below.
Notice: Undefined variable: default in redhen_contact_contact_user_form() (line 366 of ...redhen/modules/redhen_contact/includes/redhen_contact.forms.inc). =>
Comments