Skip to content
Snippets Groups Projects
Unverified Commit e301787e authored by Eileen McNaughton's avatar Eileen McNaughton Committed by GitHub
Browse files

Merge pull request #19542 from seamuslee001/afform_fix_array_access

[REF] Fix array access on NULL error when running afform unit tests o…
parents 6e6e0669 aabf7fff
Branches
Tags
No related merge requests found
......@@ -69,7 +69,7 @@ trait AfformSaveTrait {
// FIXME: more targetted reconciliation
\CRM_Core_ManagedEntities::singleton()->reconcile();
}
elseif ($orig['is_dashlet'] && $isChanged('title')) {
elseif (array_key_exists('is_dashlet', (array) $orig) && $orig['is_dashlet'] && $isChanged('title')) {
// FIXME: more targetted reconciliation
\CRM_Core_ManagedEntities::singleton()->reconcile();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment