From 9616e9e44b111e79f6931763da265f05638aa839 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Anne?= Date: Wed, 14 Oct 2020 10:35:46 +0200 Subject: [PATCH] Fix optionnal "$tagvspaces" parameter declaration --- include/tcpdf_static.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/tcpdf_static.php b/include/tcpdf_static.php index 56af4a0..56ea082 100644 --- a/include/tcpdf_static.php +++ b/include/tcpdf_static.php @@ -1136,7 +1136,7 @@ class TCPDF_STATIC { * @see setHtmlVSpace() * @public static */ - public static function fixHTMLCode($html, $default_css='', $tagvs='', $tidy_options='', &$tagvspaces) { + public static function fixHTMLCode($html, $default_css='', $tagvs='', $tidy_options='', &$tagvspaces=array()) { // configure parameters for HTML Tidy if ($tidy_options === '') { $tidy_options = array (