From: Mattias Michaux Date: Thu, 5 Nov 2015 15:59:06 +0000 (+0100) Subject: Fixed possibly wrong modifier id id when creating activity. X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=be89435d5e409a72a8940560280071c6e6675394;p=civicrm-core.git Fixed possibly wrong modifier id id when creating activity. --- 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',