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 #16731 from eileenmcnaughton/regress
[civicrm-core.git]
/
CRM
/
Event
/
PseudoConstant.php
diff --git
a/CRM/Event/PseudoConstant.php
b/CRM/Event/PseudoConstant.php
index 9fd6a842ff6a79d3a0ac2edbdc6954dbc4d223e9..780adc60b11512e9e7fa1ada510ca551516b9854 100644
(file)
--- a/
CRM/Event/PseudoConstant.php
+++ b/
CRM/Event/PseudoConstant.php
@@
-298,7
+298,7
@@
class CRM_Event_PseudoConstant extends CRM_Core_PseudoConstant {
);
}
if ($id) {
);
}
if ($id) {
- return
CRM_Utils_Array::value($id, self::$pcPage)
;
+ return
self::$pcPage[$id] ?? NULL
;
}
return self::$pcPage;
}
}
return self::$pcPage;
}