From 278e831f64c61fdcd852611c758b4fb7fa9d425c Mon Sep 17 00:00:00 2001 From: Niklas Date: Wed, 21 Feb 2018 16:10:37 +0100 Subject: [PATCH] Restore PHP 5.3 compat composer.json for TCPDF claims support for PHP 5.3 and short array syntax is not in this old version. This undos commit 865cd727fc29b080e8da1959566de5078a605c73 in char101:patch-1 --- tcpdf.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tcpdf.php b/tcpdf.php index 2dbec5a..ef411a1 100644 --- a/tcpdf.php +++ b/tcpdf.php @@ -15192,7 +15192,7 @@ class TCPDF { * @since 3.1.000 (2008-06-09) * @public */ - public function write1DBarcode($code, $type, $x='', $y='', $w='', $h='', $xres='', $style=[], $align='') { + public function write1DBarcode($code, $type, $x='', $y='', $w='', $h='', $xres='', $style=array(), $align='') { if (TCPDF_STATIC::empty_string(trim($code))) { return; }