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>
This commit is contained in:
Marc Véron 2017-09-06 15:56:55 +02:00 committed by Jonathan Druart
parent 45aea7ae1d
commit c7ac741e6a
1 changed files with 3 additions and 3 deletions

View File

@ -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 = {};