mirror of
https://github.com/tecnickcom/TCPDF.git
synced 2025-03-28 09:52:30 +01:00
Merge pull request #1 from NiklasBr/php5-3-array-fix
Restore PHP 5.3 compatibility
This commit is contained in:
commit
11f0fd3811
@ -15192,7 +15192,7 @@ class TCPDF {
|
|||||||
* @since 3.1.000 (2008-06-09)
|
* @since 3.1.000 (2008-06-09)
|
||||||
* @public
|
* @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))) {
|
if (TCPDF_STATIC::empty_string(trim($code))) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user