From b9f7b18ff9f89128e2840cfa57f678ec9df3324e Mon Sep 17 00:00:00 2001 From: Thomas Peterson Date: Mon, 9 Sep 2024 14:11:42 +0200 Subject: [PATCH] Barcode Version Auto --- src/new/src/PSC/System/SettingsBundle/Twig/Node/Barcode.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/new/src/PSC/System/SettingsBundle/Twig/Node/Barcode.php b/src/new/src/PSC/System/SettingsBundle/Twig/Node/Barcode.php index 9ba441730..c8d5d5e1f 100755 --- a/src/new/src/PSC/System/SettingsBundle/Twig/Node/Barcode.php +++ b/src/new/src/PSC/System/SettingsBundle/Twig/Node/Barcode.php @@ -41,7 +41,7 @@ class Barcode extends Node $compiler->raw( ' $options = new \PSC\System\SettingsBundle\Barcode\QRGdWithLogoOptions(); -$options->version = 7; +$options->version = -1; $options->eccLevel = \chillerlan\QRCode\Common\EccLevel::H; $options->outputType = \chillerlan\QRCode\Output\QROutputInterface::CUSTOM; if(isset($_options["logo"]) && $_options["logo"] == true) {