----------------------------------------
* CRM-16665: Add followup activity to "Send Email" form
https://issues.civicrm.org/jira/browse/CRM-16665
}
}
- $params = array('case_id' => $vval['case_id'], 'client_id' => $this->_currentlyViewedContactId);
- $result = CRM_Activity_BAO_Activity::sendToAssignee($activity, $mailToContacts, $params);
+ $extraParams = array('case_id' => $vval['case_id'], 'client_id' => $this->_currentlyViewedContactId);
+ $result = CRM_Activity_BAO_Activity::sendToAssignee($activity, $mailToContacts, $extraParams);
if (empty($result)) {
$mailStatus = '';
}