From: Dave Greenberg Date: Mon, 13 May 2013 19:23:15 +0000 (-0700) Subject: CRM-12562 Mis-named array item check in Batch.php was causing batch update to set... X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=f2f988542f3c10c1711d5601d25e6fa6049a4793;p=civicrm-core.git CRM-12562 Mis-named array item check in Batch.php was causing batch update to set participant role profile field as is_multiple (conditional on line 204 was checking for participant_role_id instead of participant_role). ---------------------------------------- * CRM-12562: Batch Update Participant Roles Not Set, Not Checkboxes, Data Overwritten http://issues.civicrm.org/jira/browse/CRM-12562 --- diff --git a/CRM/Event/Form/Task/Batch.php b/CRM/Event/Form/Task/Batch.php index 6bb4047b00..72c28aa0d5 100644 --- a/CRM/Event/Form/Task/Batch.php +++ b/CRM/Event/Form/Task/Batch.php @@ -201,7 +201,7 @@ class CRM_Event_Form_Task_Batch extends CRM_Event_Form_Task { } } else { - if ($field['name'] == 'participant_role_id') { + if ($field['name'] == 'participant_role') { $field['is_multiple'] = TRUE; } // handle non custom fields