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

(-)a/C4/Biblio.pm (-2 / +1 lines)
Lines 2850-2856 sub EmbedItemsInMarcBiblio { Link Here
2850
    my @item_fields;
2850
    my @item_fields;
2851
    my ( $itemtag, $itemsubfield ) = GetMarcFromKohaField( "items.itemnumber", $frameworkcode );
2851
    my ( $itemtag, $itemsubfield ) = GetMarcFromKohaField( "items.itemnumber", $frameworkcode );
2852
    while (my ($itemnumber) = $sth->fetchrow_array) {
2852
    while (my ($itemnumber) = $sth->fetchrow_array) {
2853
        next if $itemnumbers and not grep { $_ == $itemnumber } @$itemnumbers;
2853
        next if @$itemnumbers and not grep { $_ == $itemnumber } @$itemnumbers;
2854
        require C4::Items;
2854
        require C4::Items;
2855
        my $item_marc = C4::Items::GetMarcItem($biblionumber, $itemnumber);
2855
        my $item_marc = C4::Items::GetMarcItem($biblionumber, $itemnumber);
2856
        push @item_fields, $item_marc->field($itemtag);
2856
        push @item_fields, $item_marc->field($itemtag);
2857
- 

Return to bug 9046