From: jitendrapurohit Date: Mon, 7 Jul 2014 11:14:34 +0000 (+0530) Subject: CRM-14945 X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=641f812f91a337a207937e2dca1dc4223eaa6964;p=civicrm-core.git CRM-14945 --- diff --git a/CRM/Activity/BAO/Activity.php b/CRM/Activity/BAO/Activity.php index 321a3a7114..6187167cde 100644 --- a/CRM/Activity/BAO/Activity.php +++ b/CRM/Activity/BAO/Activity.php @@ -1885,6 +1885,7 @@ SELECT display_name ), 'subject' => $subject, 'activity_date_time' => $date, + 'details' => $activity->details, 'is_test' => $activity->is_test, 'status_id' => CRM_Core_OptionGroup::getValue('activity_status', 'Completed', diff --git a/CRM/Event/Form/Participant.php b/CRM/Event/Form/Participant.php index 51215280e8..fdfb16e1d0 100644 --- a/CRM/Event/Form/Participant.php +++ b/CRM/Event/Form/Participant.php @@ -1710,6 +1710,7 @@ class CRM_Event_Form_Participant extends CRM_Contact_Form_Task { $sent[] = $contactID; foreach ($participants as $ids => $values) { if ($values->contact_id == $contactID) { + $values->details = CRM_Utils_Array::value('receipt_text', $params); CRM_Activity_BAO_Activity::addActivity($values, 'Email'); break; }