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 #18200 from seamuslee001/5.29
[civicrm-core.git]
/
CRM
/
Utils
/
Chart.php
diff --git
a/CRM/Utils/Chart.php
b/CRM/Utils/Chart.php
index 36fa6ea729fd8691683cc49c4119433b989afd89..9a5b90a71c51a9571f6239170e60f1dcc03f123c 100644
(file)
--- a/
CRM/Utils/Chart.php
+++ b/
CRM/Utils/Chart.php
@@
-211,8
+211,8
@@
class CRM_Utils_Chart {
}
// legend
}
// legend
- $chartData['xname'] =
CRM_Utils_Array::value('xname', $rows)
;
- $chartData['yname'] =
CRM_Utils_Array::value('yname', $rows)
;
+ $chartData['xname'] =
$rows['xname'] ?? NULL
;
+ $chartData['yname'] =
$rows['yname'] ?? NULL
;
// carry some chart params if pass.
foreach ([
// carry some chart params if pass.
foreach ([