CRM-12562 Mis-named array item check in Batch.php was causing batch update to set...
authorDave Greenberg <dave@civicrm.org>
Mon, 13 May 2013 19:23:15 +0000 (12:23 -0700)
committerDave Greenberg <dave@civicrm.org>
Mon, 13 May 2013 19:23:15 +0000 (12:23 -0700)
----------------------------------------
* CRM-12562: Batch Update Participant Roles Not Set, Not Checkboxes, Data Overwritten
  http://issues.civicrm.org/jira/browse/CRM-12562

CRM/Event/Form/Task/Batch.php

index 6bb4047b000783ae9d2fe40d2309d975a3653278..72c28aa0d55308c2e626a37eb24b30e35fb987fa 100644 (file)
@@ -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