From 8f1e688f8f0eaf0f4c13b327ae8f13773ad27ad1 Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Thu, 14 Sep 2023 18:54:38 +0000 Subject: [PATCH] Bug 34532: (follow-up) Fix typos llx => lly --- C4/Patroncards/Patroncard.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/C4/Patroncards/Patroncard.pm b/C4/Patroncards/Patroncard.pm index 74db68ad46..ee5c73e352 100644 --- a/C4/Patroncards/Patroncard.pm +++ b/C4/Patroncards/Patroncard.pm @@ -103,7 +103,7 @@ sub draw_barcode { _draw_barcode( $self, llx => $llx + $llx_layout * $self->{'unitvalue'}, - lly => $llx + $llx_layout * $self->{'unitvalue'}, + lly => $lly + $lly_layout * $self->{'unitvalue'}, width => $self->{'width'} * $barcode_width_scale, y_scale_factor => $self->{'height'} * $barcode_height_scale, barcode_type => $self->{'layout'}->{'barcode'}->[0]->{'type'}, @@ -249,7 +249,7 @@ sub draw_text { my $text_attribs = shift @$text; my $llx = $self->{'llx'} || 0; my $llx_text_attr = $text_attribs->{'llx'} || 0; - my $lly = $self->{'llx'} || 0; + my $lly = $self->{'lly'} || 0; my $lly_text_attr = $text_attribs->{'lly'} || 0; my $origin_llx = $llx + $llx_text_attr * $self->{'unitvalue'}; -- 2.30.2