Commit 4fb2b6ca authored by bgm's avatar bgm Committed by Aegir user
Browse files

Fix StateProvince display

parent be6487bb
......@@ -248,6 +248,10 @@ class CRM_Activityprofile_APIWrappers_Profile {
asort($options);
$val['options'] = $options;
}
elseif ($val['data_type'] == 'StateProvince') {
$val['html_type'] = 'Select';
$val['options'] = [0 => ts('- select -')] + $val['options'];
}
// Converts the group field into checkboxes, and filters the exposed groups
// using the "groupfields" extension.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment