View | Details | Raw Unified | Return to bug 20623
Collapse All | Expand All

(-)a/acqui/basketgroup.pl (-4 / +5 lines)
Lines 194-202 sub printbasketgrouppdf{ Link Here
194
                }
194
                }
195
            }
195
            }
196
196
197
            my $itemtype = Koha::ItemTypes->find( $biblioitem->itemtype );
197
            my $itemtype = ( $ord->{itemtype} and $biblioitem->itemtype )
198
            my $item_has_type_description = $ord->{itemtype} && $biblioitem->itemtype && $itemtype;
198
                ? Koha::ItemTypes->find( $biblioitem->itemtype )
199
            $ord->{itemtype} = $item_has_type_description ? $itemtype->description : undef;
199
                : undef;
200
            $ord->{itemtype} = $itemtype ? $itemtype->description : undef;
201
200
            $ord->{en} = $en ? $en : undef;
202
            $ord->{en} = $en ? $en : undef;
201
            $ord->{edition} = $edition ? $edition : undef;
203
            $ord->{edition} = $edition ? $edition : undef;
202
204
203
- 

Return to bug 20623