Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Minor
-
Resolution: Fixed/Completed
-
Affects Version/s: 3.3.5
-
Fix Version/s: 3.4.alpha
-
Component/s: Core CiviCRM
-
Labels:None
Description
I first thought this might have to do with my monkeying around with county stuff, but I've re-created the problem on the demo site.
If you have a profile with a county field, and use it in create mode, the county input isn't saved.
It turns out that in CRM_Contact_BAO_Contact::createProfileContact(), the county information was saved in $data['address'][$loc]['address']['county_id'] instead of $data['address'][$loc]['county_id'] like all the other address fields. I've attached a patch with the single line change.