From 552cde08db9e237de631af7e3acc774154b265a2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fr=C3=A9d=C3=A9rick=20Capovilla?= Date: Wed, 18 May 2011 16:27:20 -0400 Subject: [PATCH] Bug 6369 Correct a formatting problem in the pdf generation of basketgroup.pl Signed-off-by: Paul Poulain Signed-off-by: Chris Cormack --- acqui/basketgroup.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/acqui/basketgroup.pl b/acqui/basketgroup.pl index 08356f85b0..0846603933 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); } -- 2.39.5