Skip to content
Snippets Groups Projects
Commit e7f9988c authored by jaapjansma's avatar jaapjansma
Browse files

Merge branch 'participant_role_form' into 'master'

fixes #82

Closes #82

See merge request extensions/civirules!60
parents fc300805 8bb0fdfd
No related branches found
No related tags found
No related merge requests found
......@@ -12,7 +12,7 @@ class CRM_CivirulesConditions_Form_Participant_ParticipantRole extends CRM_Civir
$participantRoleList = civicrm_api3('OptionValue', 'get', array('option_group_id' => "participant_role", 'options' => ['limit' => 0]));
$roles = array();
foreach($participantRoleList['values'] as $role) {
$roles[$role['id']] = $role['label'];
$roles[$role['value']] = $role['label'];
}
return $roles;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment