CRM-13891 - CiviMail - Use brackets around civicrm draft in subject line.
[civicrm-core.git] / sql / GenerateReportData.php
index 2c88de2537dbc659ec2b602d7df470b5a87612ef..07a2f2b78228a1aeff6eb1cc8219676302b09823 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 /*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.3                                                |
+ | CiviCRM version 4.4                                                |
  +--------------------------------------------------------------------+
  | Copyright CiviCRM LLC (c) 2004-2013                                |
  +--------------------------------------------------------------------+
@@ -1116,7 +1116,7 @@ class CRM_GCD {
     $contactDAO->find();
 
     $count = 0;
-    $activityContacts = CRM_Core_PseudoConstant::activityContacts('name');
+    $activityContacts = CRM_Core_OptionGroup::values('activity_contacts', FALSE, FALSE, FALSE, NULL, 'name');
 
     while ($contactDAO->fetch()) {
       if ($count++ > 2) {