mirror of
https://github.com/tecnickcom/TCPDF.git
synced 2025-03-21 14:39:40 +01:00
Fix unsupported operand types error when codepoints arrays are merged - corrected assignment of resulting array
This commit is contained in:
parent
d06fee8012
commit
b9b5a0b77f
@ -2006,7 +2006,7 @@ class TCPDF_FONTS {
|
||||
if (is_array($currentfont['subsetchars']) && is_array($carr))
|
||||
$currentfont['subsetchars'] += array_fill_keys($carr, true);
|
||||
else
|
||||
array_merge($currentfont['subsetchars'], $carr);
|
||||
$currentfont['subsetchars'] = array_merge($currentfont['subsetchars'], $carr);
|
||||
return $carr;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user