From 4097038fe0f5733216a5abe7f9f2c626acee1fb4 Mon Sep 17 00:00:00 2001 From: Francois RAOULT Date: Wed, 27 May 2020 17:21:03 +0200 Subject: [PATCH] fix param list to call write2DBarcode() --- src/MyPdf.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MyPdf.php b/src/MyPdf.php index 8411fba2..384842d9 100644 --- a/src/MyPdf.php +++ b/src/MyPdf.php @@ -1345,7 +1345,7 @@ public function myBarcode($code, $type, $x, $y, $w, $h, $labelFontsize, $color, // build the barcode if ($dimension === '2D') { // PDF417, DATAMATRIX ... - $this->write2DBarcode($code, $type, $x, $y, $w, $h, '', $style, 'N'); + $this->write2DBarcode($code, $type, $x, $y, $w, $h, $style, 'N'); } else { $this->write1DBarcode($code, $type, $x, $y, $w, $h, '', $style, 'N'); }