From 367241059ca166e3a76490f4448c284e0a161f15 Mon Sep 17 00:00:00 2001 From: nicolaasuni Date: Tue, 16 Oct 2018 18:24:05 +0100 Subject: [PATCH] Format code --- include/tcpdf_fonts.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/include/tcpdf_fonts.php b/include/tcpdf_fonts.php index 459aa1a..9242ca4 100644 --- a/include/tcpdf_fonts.php +++ b/include/tcpdf_fonts.php @@ -2003,10 +2003,11 @@ class TCPDF_FONTS { $chars = str_split($str); $carr = array_map('ord', $chars); } - if (is_array($currentfont['subsetchars']) && is_array($carr)) + if (is_array($currentfont['subsetchars']) && is_array($carr)) { $currentfont['subsetchars'] += array_fill_keys($carr, true); - else + } else { $currentfont['subsetchars'] = array_merge($currentfont['subsetchars'], $carr); + } return $carr; }