Active
Project:
RedHen CRM
Version:
7.x-1.x-dev
Component:
redhen_contact
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 Feb 2016 at 05:42 UTC
Updated:
2 Feb 2016 at 05:42 UTC
Jump to comment: Most recent
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