Bug 34732: (QA follow-up): tidy up code

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Victor Grousset/tuxayo 2023-09-15 20:36:38 +02:00 committed by Tomas Cohen Arazi
parent 0f888f48fa
commit 703ecab2c6
No known key found for this signature in database
GPG Key ID: 0A272EA1B2F3C15F
1 changed files with 1 additions and 1 deletions

View File

@ -106,7 +106,7 @@ my $height = $input->param('height') || 50;
my $qrcode_modulesize = $input->param('modulesize') || "5"; # 1+
my $image;
if ($type eq 'Code39'){
if ( $type eq 'Code39' ) {
$barcode = '*' . $barcode unless $barcode =~ /^\*/;
$barcode = $barcode . '*' unless $barcode =~ /\*$/;
}