From 93b392d81e2a4fb5cfc11cff05556a069436a5e8 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 --- acqui/basketgroup.pl | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/acqui/basketgroup.pl b/acqui/basketgroup.pl index 0586323..9576c59 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.5.6.5