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 #15338 from totten/master-poc-postcommit
[civicrm-core.git]
/
CRM
/
Utils
/
Chart.php
diff --git
a/CRM/Utils/Chart.php
b/CRM/Utils/Chart.php
index c8745fa0a5f0b745c958bbacea851f0311e43480..36fa6ea729fd8691683cc49c4119433b989afd89 100644
(file)
--- a/
CRM/Utils/Chart.php
+++ b/
CRM/Utils/Chart.php
@@
-205,7
+205,7
@@
class CRM_Utils_Chart {
}
// rotate the x labels.
- $chartData['xLabelAngle'] =
CRM_Utils_Array::value('xLabelAngle', $rows, 0)
;
+ $chartData['xLabelAngle'] =
$rows['xLabelAngle'] ?? 0
;
if (!empty($rows['tip'])) {
$chartData['tip'] = $rows['tip'];
}