CRM-13842 - expose all activity types to scheduled reminders entity options.
authorDave Greenberg <dave@civicrm.org>
Wed, 27 Nov 2013 01:49:08 +0000 (17:49 -0800)
committerDave Greenberg <dave@civicrm.org>
Wed, 27 Nov 2013 01:49:08 +0000 (17:49 -0800)
----------------------------------------
* CRM-13842: Expose ALL activity types to Scheduled Reminders Entity select
  http://issues.civicrm.org/jira/browse/CRM-13842

CRM/Core/BAO/ActionSchedule.php

index 831f72d77756365ff8e6574b82ad3a93c380ecbf..4f9ced0fdc4d5de0e2ef2459b6ac4bc6f451ed42 100755 (executable)
@@ -75,7 +75,7 @@ class CRM_Core_BAO_ActionSchedule extends CRM_Core_DAO_ActionSchedule {
   static function getSelection($id = NULL) {
     $mapping = self::getMapping($id);
     $activityStatus = CRM_Core_PseudoConstant::activityStatus();
-    $activityType = CRM_Core_PseudoConstant::activityType(FALSE) + CRM_Core_PseudoConstant::activityType(FALSE, TRUE);
+    $activityType = CRM_Core_PseudoConstant::activityType(FALSE) + CRM_Core_PseudoConstant::activityType(TRUE, TRUE);
 
     $participantStatus = CRM_Event_PseudoConstant::participantStatus(NULL, NULL, 'label');
     $event = CRM_Event_PseudoConstant::event(NULL, FALSE, "( is_template IS NULL OR is_template != 1 )");