From a0e8a0b261a92474728d7238433331490581313f Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Mon, 11 Sep 2023 23:20:39 +0000 Subject: [PATCH] fix data type --- tcpdf/include/tcpdf_fonts.php | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/tcpdf/include/tcpdf_fonts.php b/tcpdf/include/tcpdf_fonts.php index 44f5d8b..973467a 100755 --- a/tcpdf/include/tcpdf_fonts.php +++ b/tcpdf/include/tcpdf_fonts.php @@ -1762,11 +1762,8 @@ class TCPDF_FONTS { * @since 4.5.037 (2009-04-07) * @public static */ - public static function UniArrSubString($uniarr, $start='', $end='') { - if (\strlen($start) == 0) { - $start = 0; - } - if (\strlen($end) == 0) { + public static function UniArrSubString($uniarr, $start, $end) { + if ($end == 0) { $end = \count($uniarr); } $string = '';