----------------------------------------
* CRM-14732: Search returns activities from Contacts in Trash
https://issues.civicrm.org/jira/browse/CRM-14732
$from .= " INNER JOIN civicrm_activity
ON ( civicrm_activity.id = civicrm_activity_contact.activity_id
AND civicrm_activity.is_deleted = 0 AND civicrm_activity.is_current_revision = 1 )";
- // Do not show deleted contact's activity
+ // Do not show deleted contact's activity
$from .= " INNER JOIN civicrm_contact
ON ( civicrm_activity_contact.contact_id = civicrm_contact.id and civicrm_contact.is_deleted != 1 )";
break;