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:
parent
45aea7ae1d
commit
c7ac741e6a
|
|
@ -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…
Reference in New Issue