diff --git a/tcpdf.php b/tcpdf.php index 65196e7..59758c3 100644 --- a/tcpdf.php +++ b/tcpdf.php @@ -15509,7 +15509,7 @@ class TCPDF { * @since 4.5.037 (2009-04-07) * @public */ - public function write2DBarcode($code, $type, $x='', $y='', $w='', $h='', $style='', $align='', $distort=false) { + public function write2DBarcode($code, $type, $x='', $y='', $w='', $h='', $style=array(), $align='', $distort=false) { if (TCPDF_STATIC::empty_string(trim($code))) { return; }