From: jitendrapurohit Date: Wed, 9 Jul 2014 06:04:37 +0000 (+0530) Subject: CRM Test Fix 4.5beta2 X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=b870f878a3ea7c49fb0d27bd664fba0518be5e01;p=civicrm-core.git CRM Test Fix 4.5beta2 --- diff --git a/CRM/Activity/BAO/Activity.php b/CRM/Activity/BAO/Activity.php index 6187167cde..bb82e6eecd 100644 --- a/CRM/Activity/BAO/Activity.php +++ b/CRM/Activity/BAO/Activity.php @@ -1885,7 +1885,6 @@ 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', @@ -1903,6 +1902,10 @@ SELECT display_name $activityParams['target_contact_id'][] = $activity->contact_id; } + // CRM-14945 + if (property_exists($activity, 'details')) { + $activityParams['details'] = $activity->details; + } //CRM-4027 if ($targetContactID) { $activityParams['target_contact_id'][] = $targetContactID;