CRM-13244 - RecipientBuilder - Move entity-specific bits to ActionMappings
[civicrm-core.git] / CRM / Event / Page / ManageEvent.php
index 75b1d17184e90fad56716f1a488b30aa63e49f87..8ddbc0288bb66017c5328bc5745ce3dc197fb4ac 100644 (file)
@@ -314,7 +314,7 @@ ORDER BY start_date desc
     );
     $this->assign('eventCartEnabled', $enableCart);
     $mapping = CRM_Utils_Array::first(CRM_Core_BAO_ActionSchedule::getMappings(array(
-      'entity_value' => 'civicrm_event',
+      'id' => CRM_Core_ActionScheduleTmp::EVENT_NAME_MAPPING_ID,
     )));
     $eventType = CRM_Core_OptionGroup::values('event_type');
     while ($dao->fetch()) {