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

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

Return to bug 20623