CRM-16719: more fixes
authorKurund Jalmi <kurund@yahoo.com>
Mon, 17 Aug 2015 11:32:41 +0000 (17:02 +0530)
committerKurund Jalmi <kurund@yahoo.com>
Wed, 19 Aug 2015 17:46:46 +0000 (23:16 +0530)
CRM/Report/Form/ActivitySummary.php

index 6d57126881758f809e052294358ba32541012b59..1a36fb15ba72ee31ee5c62a9b45c9e2d086b13e0 100644 (file)
@@ -372,7 +372,7 @@ class CRM_Report_Form_ActivitySummary extends CRM_Report_Form {
     }
 
     if ($this->_aclWhere) {
-      $this->_where .= " AND {$this->_aclWhere} ";
+      $this->_where .= " AND ({$this->_aclWhere} OR civicrm_contact_source.is_deleted=0 OR civicrm_contact_assignee.is_deleted=0)";
     }
   }