Bug 6369 Correct a formatting problem in the pdf generation of basketgroup.pl

Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
This commit is contained in:
Frédérick Capovilla 2011-05-18 16:27:20 -04:00 committed by Chris Cormack
parent 7d2839dbd6
commit 552cde08db
1 changed files with 2 additions and 2 deletions

View File

@ -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);
}