CRM-16665: fix variable
authoryashodha <yashodha.chaku@webaccessglobal.com>
Thu, 25 Jun 2015 08:53:34 +0000 (14:23 +0530)
committeryashodha <yashodha.chaku@webaccessglobal.com>
Thu, 25 Jun 2015 08:53:34 +0000 (14:23 +0530)
----------------------------------------
* CRM-16665: Add followup activity to "Send Email" form
  https://issues.civicrm.org/jira/browse/CRM-16665

CRM/Case/Form/Activity.php

index 00b849ad30e8474787665dd5cd70fb1c8b253290..ecb4047ee650e3391e3f4480fa79feed459b1006 100644 (file)
@@ -663,8 +663,8 @@ class CRM_Case_Form_Activity extends CRM_Activity_Form_Activity {
         }
       }
 
-      $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 = '';
       }