Bugzilla – Attachment 155630 Details for
Bug 34532
Silence warns in Patroncard.pm when layout values are empty
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 34532: (follow-up) Fix typos llx => lly
Bug-34532-follow-up-Fix-typos-llx--lly.patch (text/plain), 1.38 KB, created by
Nick Clemens (kidclamp)
on 2023-09-14 18:54:57 UTC
(
hide
)
Description:
Bug 34532: (follow-up) Fix typos llx => lly
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2023-09-14 18:54:57 UTC
Size:
1.38 KB
patch
obsolete
>From 8f1e688f8f0eaf0f4c13b327ae8f13773ad27ad1 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 34532
:
154415
|
154416
|
154680
|
155119
|
155630
|
155638