Fixed possibly wrong modifier id id when creating activity.
authorMattias Michaux <mattias.michaux@gmail.com>
Thu, 5 Nov 2015 15:59:06 +0000 (16:59 +0100)
committerMattias Michaux <mattias.michaux@gmail.com>
Thu, 5 Nov 2015 15:59:06 +0000 (16:59 +0100)
CRM/Activity/BAO/Activity.php

index e2f32c1439e620022b514c3a3a481b7f38adca39..0cbc398634696558e500fc797d24508058b4aba1 100644 (file)
@@ -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',