projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f997360
)
Ensure dashboardLinks assigned to prevent e-notice
author
Eileen McNaughton
<emcnaughton@wikimedia.org>
Wed, 5 Jan 2022 05:49:18 +0000
(18:49 +1300)
committer
Eileen McNaughton
<emcnaughton@wikimedia.org>
Wed, 5 Jan 2022 05:49:18 +0000
(18:49 +1300)
Rather than no assign assign an empty array. It is processed with a foreach so all good
CRM/Core/Block.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Core/Block.php
b/CRM/Core/Block.php
index 8394310dc289eec61e5356c657aa259cf4738780..695e8a6c3f7bbe1da9a52ce4d25fa2117550203c 100644
(file)
--- a/
CRM/Core/Block.php
+++ b/
CRM/Core/Block.php
@@
-464,10
+464,6
@@
class CRM_Core_Block {
);
}
- if (empty($dashboardLinks)) {
- return NULL;
- }
-
$values = [];
foreach ($dashboardLinks as $dash) {
$value = [];