X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=sql%2FGenerateReportData.php;h=6119aff6bf28873f2efe7013be01f053453ae8ac;hb=625c3750799104c320c770cb1d1f678232a22476;hp=fe5fbe3d7d9fc6df0a96916fa9bc4812f2ff695d;hpb=63af2623343f410d84b58da71a86d8e876b7bdcc;p=civicrm-core.git diff --git a/sql/GenerateReportData.php b/sql/GenerateReportData.php index fe5fbe3d7d..6119aff6bf 100644 --- a/sql/GenerateReportData.php +++ b/sql/GenerateReportData.php @@ -3,7 +3,7 @@ +--------------------------------------------------------------------+ | CiviCRM version 4.7 | +--------------------------------------------------------------------+ - | Copyright CiviCRM LLC (c) 2004-2016 | + | Copyright CiviCRM LLC (c) 2004-2017 | +--------------------------------------------------------------------+ | This file is a part of CiviCRM. | | | @@ -28,7 +28,7 @@ /** * * @package CRM - * @copyright CiviCRM LLC (c) 2004-2016 + * @copyright CiviCRM LLC (c) 2004-2017 * $Id$ * */ @@ -1188,7 +1188,7 @@ class CRM_GCD { $contactDAO->find(); $count = 0; - $activityContacts = CRM_Core_OptionGroup::values('activity_contacts', FALSE, FALSE, FALSE, NULL, 'name'); + $activityContacts = CRM_Activity_BAO_ActivityContact::buildOptions('record_type_id', 'validate'); while ($contactDAO->fetch()) { if ($count++ > 2) {