From 652fd93fb4ac3a48bb1bfb3207be408d57b15502 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9rick=20Capovilla?= Date: Wed, 18 May 2011 16:27:20 -0400 Subject: [PATCH] Correct a formatting problem in the pdf generation of basketgroup.pl Signed-off-by: Paul Poulain --- acqui/basketgroup.pl | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/acqui/basketgroup.pl b/acqui/basketgroup.pl index 08356f8..0846603 100755 --- a/acqui/basketgroup.pl +++ b/acqui/basketgroup.pl @@ -211,8 +211,8 @@ sub printbasketgrouppdf{ } else { push(@ba_order, undef); } - if ($ord->{itemtype}){ - push(@ba_order, $itemtypes->{$bib->{itemtype}}->{description}) if $bib->{itemtype}; + if ($ord->{itemtype} and $bib->{itemtype}){ + push(@ba_order, $itemtypes->{$bib->{itemtype}}->{description}); } else { push(@ba_order, undef); } -- 1.7.4.1