From c7ac741e6a5d5e9bf4fb96dda3e4fabeace7f025 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marc=20V=C3=A9ron?= Date: Wed, 6 Sep 2017 15:56:55 +0200 Subject: [PATCH] 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 Signed-off-by: Jonathan Druart --- patroncards/create-pdf.pl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/patroncards/create-pdf.pl b/patroncards/create-pdf.pl index 4a60cc25f4..6f22049a74 100755 --- a/patroncards/create-pdf.pl +++ b/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 = {}; -- 2.39.5