From: demeritcowboy Date: Tue, 20 Sep 2022 23:22:56 +0000 (-0400) Subject: backwards X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=a414e696576f2d378b573106fc445d8a9b16312f;p=civicrm-core.git backwards --- diff --git a/CRM/Core/CodeGen/GenerateData.php b/CRM/Core/CodeGen/GenerateData.php index 5e24c1c3fc..d0ba51a8c3 100644 --- a/CRM/Core/CodeGen/GenerateData.php +++ b/CRM/Core/CodeGen/GenerateData.php @@ -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'));