Skip to content

Commit

Permalink
Merge branch 'hotfix' of github.com:NETivism/netiCRM into hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
Chang Shu-Huai committed Nov 28, 2024
2 parents acd6503 + 830e6c9 commit 26b75ab
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions CRM/Activity/Form/Activity.php
Original file line number Diff line number Diff line change
Expand Up @@ -1072,10 +1072,10 @@ public function postProcess($params = NULL) {
//include attachments while sendig a copy of activity.
$attachments = &CRM_Core_BAO_File::getEntityFile('civicrm_activity', $activity->id);

if (in_array("CiviCase", $config->enableComponents)) {
CRM_Case_BAO_Case::sendActivityCopy(NULL, $activity->id, $mailToContacts, $attachments, NULL);
$mailStatus .= ts("A copy of the activity has also been sent to assignee contacts(s).");
}
require_once "CRM/Case/BAO/Case.php";
$result = CRM_Case_BAO_Case::sendActivityCopy(NULL, $activity->id, $mailToContacts, $attachments, NULL);

$mailStatus .= ts("A copy of the activity has also been sent to assignee contacts(s).");
}
}

Expand Down

0 comments on commit 26b75ab

Please sign in to comment.