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 #17392 from eileenmcnaughton/ct
[civicrm-core.git]
/
CRM
/
Core
/
ManagedEntities.php
diff --git
a/CRM/Core/ManagedEntities.php
b/CRM/Core/ManagedEntities.php
index 434c7a33760de3ca9496e03692ec246c319f927f..22d9f12f82a4d065db3db11743ede9159104b1eb 100644
(file)
--- a/
CRM/Core/ManagedEntities.php
+++ b/
CRM/Core/ManagedEntities.php
@@
-246,7
+246,7
@@
class CRM_Core_ManagedEntities {
$dao->name = $todo['name'];
$dao->entity_type = $todo['entity'];
$dao->entity_id = $result['id'];
$dao->name = $todo['name'];
$dao->entity_type = $todo['entity'];
$dao->entity_id = $result['id'];
- $dao->cleanup =
CRM_Utils_Array::value('cleanup', $todo)
;
+ $dao->cleanup =
$todo['cleanup'] ?? NULL
;
$dao->save();
}
$dao->save();
}