From be89435d5e409a72a8940560280071c6e6675394 Mon Sep 17 00:00:00 2001 From: Mattias Michaux Date: Thu, 5 Nov 2015 16:59:06 +0100 Subject: [PATCH] Fixed possibly wrong modifier id id when creating activity. --- CRM/Activity/BAO/Activity.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Activity/BAO/Activity.php b/CRM/Activity/BAO/Activity.php index e2f32c1439..0cbc398634 100644 --- a/CRM/Activity/BAO/Activity.php +++ b/CRM/Activity/BAO/Activity.php @@ -631,7 +631,7 @@ class CRM_Activity_BAO_Activity extends CRM_Activity_DAO_Activity { if (!$id) { $activityContacts = CRM_Core_OptionGroup::values('activity_contacts', FALSE, FALSE, FALSE, NULL, 'name'); $sourceID = CRM_Utils_Array::key('Activity Source', $activityContacts); - $id = self::getActivityContact($activity->id . $sourceID); + $id = self::getActivityContact($activity->id, $sourceID); } $logParams = array( 'entity_table' => 'civicrm_activity', -- 2.25.1