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:
f999021
)
[REF][PHP8.1] Don't pass null to strtoupper in getDynamicCharacters
author
Bradley Taylor
<hello@brad-taylor.co.uk>
Sun, 11 Jun 2023 08:01:19 +0000
(09:01 +0100)
committer
Bradley Taylor
<hello@brad-taylor.co.uk>
Sun, 11 Jun 2023 08:01:19 +0000
(09:01 +0100)
CRM/Utils/PagerAToZ.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Utils/PagerAToZ.php
b/CRM/Utils/PagerAToZ.php
index 2faefae7860064dce16e3f167862cf54621fb2f5..ea08a189d3cd62e580ae46db691518fbf9175950 100644
(file)
--- a/
CRM/Utils/PagerAToZ.php
+++ b/
CRM/Utils/PagerAToZ.php
@@
-97,7
+97,7
@@
class CRM_Utils_PagerAToZ {
$dynamicAlphabets = [];
while ($result->fetch()) {
- $dynamicAlphabets[] = strtoupper($result->sort_name);
+ $dynamicAlphabets[] = strtoupper($result->sort_name
?? ''
);
}
return $dynamicAlphabets;
}