fix for CRM-14397
authorJaap Jansma <info@edeveloper.nl>
Mon, 31 Mar 2014 08:46:09 +0000 (10:46 +0200)
committerJaap Jansma <info@edeveloper.nl>
Mon, 31 Mar 2014 08:57:26 +0000 (10:57 +0200)
Signed-off-by: Jaap Jansma <info@edeveloper.nl>
CRM/Activity/Page/AJAX.php

index d762756be54b962d4d4fc12691aa2db5148e17e2..6b99fee34b1ee656e80884b4fde6421bed6bf6a3 100644 (file)
@@ -256,7 +256,7 @@ class CRM_Activity_Page_AJAX {
       }
       // email column links/icon
       if ($caseRelationships[$key]['email']) {
-        $caseRelationships[$key]['email'] = '<a href="'.CRM_Utils_System::url('civicrm/contact/view/activity', 'action=reset=1&action=add&atype=3&cid='.$caseRelationships[$key]['cid']).'" title="compose and send an email"><div class="icon email-icon" title="compose and send an email"></div>
+        $caseRelationships[$key]['email'] = '<a href="'.CRM_Utils_System::url('civicrm/contact/view/activity', 'action=reset=1&action=add&atype=3&cid='.$caseRelationships[$key]['cid']).'&caseid='.$caseID.'" title="compose and send an email"><div class="icon email-icon" title="compose and send an email"></div>
              </a>';
       }
       // edit links