projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #24139 from eileenmcnaughton/var
[civicrm-core.git]
/
CRM
/
Event
/
ActionMapping.php
diff --git
a/CRM/Event/ActionMapping.php
b/CRM/Event/ActionMapping.php
index ae76bf3df2c7d6adb850559be16539b6d665654c..c474a8dba6aaf87b5afd7ffaf7a5533fd66bdebd 100644
(file)
--- a/
CRM/Event/ActionMapping.php
+++ b/
CRM/Event/ActionMapping.php
@@
-140,7
+140,7
@@
class CRM_Event_ActionMapping extends \Civi\ActionSchedule\Mapping {
$query['casContactIdField'] = 'e.contact_id';
$query['casEntityIdField'] = 'e.id';
$query['casContactTableAlias'] = NULL;
$query['casContactIdField'] = 'e.contact_id';
$query['casEntityIdField'] = 'e.id';
$query['casContactTableAlias'] = NULL;
- $query['casDateField'] = str_replace('event_', 'r.',
$schedule->start_action_date
);
+ $query['casDateField'] = str_replace('event_', 'r.',
($schedule->start_action_date ?? '')
);
if (empty($query['casDateField']) && $schedule->absolute_date) {
$query['casDateField'] = "'" . CRM_Utils_Type::escape($schedule->absolute_date, 'String') . "'";
}
if (empty($query['casDateField']) && $schedule->absolute_date) {
$query['casDateField'] = "'" . CRM_Utils_Type::escape($schedule->absolute_date, 'String') . "'";
}