mirror of
https://github.com/tecnickcom/TCPDF.git
synced 2025-03-24 07:59:55 +01:00
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
This commit is contained in:
parent
3527098537
commit
278e831f64
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user