Koha-clms/Koha/Auth
Jake Deery 20d2236681
Bug 33880: Remove Version param from GB::Barcode->new
Looking at the code here
     if (Koha/Auth/TwoFactorAuth.pmoSelf->{Version}){        #--- auto version select
        for(->{Version}=1; ->{Version} <= 40; ++->{Version}) {
            last if ({->{Ecc}}->[->{Version}]
                        >=  + ->[->{Version}]);
        }
   }

in https://metacpan.org/release/KWITKNR/GD-Barcode-1.15/source/Barcode/QRcode.pm#L349

It appears the version parameter is not required, and will default to whatever version has the necessary bits for the input words given

Signed-off-by: Pedro Amorim <pedro.amorim@ptfs-europe.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2023-06-09 08:28:59 -03:00
..
Client Bug 31378: (follow-up) Fix QA concerns 2022-11-08 14:39:57 -03:00
Identity Bug 31378: (QA follow-up) Defer store until JSON fields are populated 2022-11-18 12:29:55 -03:00
Client.pm Bug 31378: (follow-up) Fix QA concerns 2022-11-08 14:39:57 -03:00
Permissions.pm Bug 31389: Calculate user permissions in separate function 2022-09-22 08:39:21 -03:00
TwoFactorAuth.pm Bug 33880: Remove Version param from GB::Barcode->new 2023-06-09 08:28:59 -03:00