projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d3f62f
)
fix notice for participant role
author
CiviCRM
<info@civicrm.org>
Wed, 18 Jun 2014 09:35:29 +0000
(15:05 +0530)
committer
CiviCRM
<info@civicrm.org>
Wed, 18 Jun 2014 09:35:29 +0000
(15:05 +0530)
CRM/Event/Form/Participant.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Event/Form/Participant.php
b/CRM/Event/Form/Participant.php
index 8fa680d13d05a2786d41fd240ee7202f66fb745d..51215280e87dd61ffcade60fdcc101210ba942dc 100644
(file)
--- a/
CRM/Event/Form/Participant.php
+++ b/
CRM/Event/Form/Participant.php
@@
-1537,7
+1537,7
@@
class CRM_Event_Form_Participant extends CRM_Contact_Form_Task {
$participantRoles = CRM_Utils_Array::value('role_id', $params);
if (is_array($participantRoles)) {
$selectedRoles = array();
- foreach (
array_keys($participantRoles)
as $roleId) {
+ foreach (
$participantRoles
as $roleId) {
$selectedRoles[] = $role[$roleId];
}
$event['participant_role'] = implode(', ', $selectedRoles);