We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c14219a commit 6c2c1bbCopy full SHA for 6c2c1bb
tcpdf.php
@@ -23732,7 +23732,9 @@ protected function SVGPath($d, $style='') {
23732
if (isset($val[2])) {
23733
// get curve parameters, see https://github.com/tecnickcom/TCPDF/issues/767
23734
$rawparams = preg_split('/([\,\s]+)/si', trim($val[2]));
23735
- $rawparams = array_filter($rawparams, fn ($p) => trim($p) != '');
+ $rawparams = array_filter($rawparams, function($p) {
23736
+ return trim($p) != '';
23737
+ });
23738
$params = array();
23739
foreach ($rawparams as $ck => $cp) {
23740
$params[$ck] = $this->getHTMLUnitToUnits($cp, 0, $this->svgunit, false);
0 commit comments