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 #16671 from eileenmcnaughton/acl
[civicrm-core.git]
/
CRM
/
Core
/
Component.php
diff --git
a/CRM/Core/Component.php
b/CRM/Core/Component.php
index 73cb707a5ad13b381ad30151f51b03cd0fd25ed4..10b302d5f5f8477f0970c045722eae72f0b57e62 100644
(file)
--- a/
CRM/Core/Component.php
+++ b/
CRM/Core/Component.php
@@
-63,7
+63,7
@@
class CRM_Core_Component {
public static function get($name, $attribute = NULL) {
$comp = CRM_Utils_Array::value($name, self::_info());
if ($attribute) {
- return
CRM_Utils_Array::value($attribute, $comp->info)
;
+ return
$comp->info[$attribute] ?? NULL
;
}
return $comp;
}