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 #16884 from civicrm/5.24
[civicrm-core.git]
/
CRM
/
Utils
/
PDF
/
Label.php
diff --git
a/CRM/Utils/PDF/Label.php
b/CRM/Utils/PDF/Label.php
index 3094335223f41423348b66603402b62bdfed5ba3..c0b5d02b97eee1130d432293db36b0cee653a106 100644
(file)
--- a/
CRM/Utils/PDF/Label.php
+++ b/
CRM/Utils/PDF/Label.php
@@
-190,7
+190,7
@@
class CRM_Utils_PDF_Label extends TCPDF {
$metric = $this->format['metric'];
}
else {
- $value =
CRM_Utils_Array::value($name, $this->defaults)
;
+ $value =
$this->defaults[$name] ?? NULL
;
$metric = $this->defaults['metric'];
}
if ($convert) {