backwards
authordemeritcowboy <demeritcowboy@hotmail.com>
Tue, 20 Sep 2022 23:22:56 +0000 (19:22 -0400)
committerdemeritcowboy <demeritcowboy@hotmail.com>
Tue, 20 Sep 2022 23:22:56 +0000 (19:22 -0400)
CRM/Core/CodeGen/GenerateData.php

index 5e24c1c3fc2165d88947c8d0b8e196a4c69aa85b..d0ba51a8c31e878798cf7864976b391c4c8386bc 100644 (file)
@@ -1322,7 +1322,7 @@ class CRM_Core_CodeGen_GenerateData {
     $nonAssignTypes = ['Pledge Acknowledgment', 'Print PDF Letter'];
     foreach ($activityTypes as $activityType) {
       $activityTypeOptions[$activityType['activity_type_id']] = ['label' => $activityType['label'], 'name' => $activityType['label']];
-      $activityTypeOptions[$activityType['activity_type_id']]['is_add_targets'] = !in_array($nonAssignTypes, $activityType['name'], TRUE);
+      $activityTypeOptions[$activityType['activity_type_id']]['is_add_targets'] = !in_array($activityType['name'], $nonAssignTypes, TRUE);
     }
     $count = 0;
     $activityContacts = array_flip(CRM_Activity_BAO_ActivityContact::buildOptions('record_type_id', 'validate'));