Browse Source

Bug 18541: (QA follow-up) Fix wrong variable name ($layout_xml vs $print_layout_xml)

This patch changes variable names as mentioned in comments #11 and #13

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
17.11.x
Marc Véron 5 years ago
committed by Jonathan Druart
parent
commit
c7ac741e6a
  1. 6
      patroncards/create-pdf.pl

6
patroncards/create-pdf.pl

@ -152,9 +152,9 @@ foreach my $item (@{$items}) {
text_wrap_cols => 30, #FIXME: hardcoded,
);
$patron_card->draw_guide_box($pdf) if $layout_xml->{'guide_box'};
$patron_card->draw_guide_grid($pdf) if $layout_xml->{'guide_grid'};
$patron_card->draw_barcode($pdf) if $layout_xml->{'barcode'};
$patron_card->draw_guide_box($pdf) if $print_layout_xml->{'guide_box'};
$patron_card->draw_guide_grid($pdf) if $print_layout_xml->{'guide_grid'};
$patron_card->draw_barcode($pdf) if $print_layout_xml->{'barcode'};
# Do image foo and place binary image data into layout hash
my $image_data = {};

Loading…
Cancel
Save