Merge pull request #66 from siturra/patch-1

refactoring write2DBarcode() in tcpdf
This commit is contained in:
Nicola Asuni 2018-02-19 14:20:58 +00:00 committed by GitHub
commit 5ecc348571
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15511,7 +15511,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;
}