Bug 7614: (QA follow-up) Tidy code to remove tab characters
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
This commit is contained in:
parent
2c2d0cd699
commit
874479a474
1 changed files with 7 additions and 7 deletions
14
C4/Items.pm
14
C4/Items.pm
|
@ -220,14 +220,14 @@ sub AddItemFromMarc {
|
|||
my $dbh = C4::Context->dbh;
|
||||
|
||||
# parse item hash from MARC
|
||||
my $frameworkcode = C4::Biblio::GetFrameworkCode( $biblionumber );
|
||||
my ($itemtag,$itemsubfield)=C4::Biblio::GetMarcFromKohaField("items.itemnumber",$frameworkcode);
|
||||
my $frameworkcode = C4::Biblio::GetFrameworkCode($biblionumber);
|
||||
my ( $itemtag, $itemsubfield ) = C4::Biblio::GetMarcFromKohaField( "items.itemnumber", $frameworkcode );
|
||||
|
||||
my $localitemmarc=MARC::Record->new;
|
||||
$localitemmarc->append_fields($source_item_marc->field($itemtag));
|
||||
my $item = C4::Biblio::TransformMarcToKoha( $localitemmarc, $frameworkcode ,'items');
|
||||
my $unlinked_item_subfields = _get_unlinked_item_subfields($localitemmarc, $frameworkcode);
|
||||
return AddItem($item, $biblionumber, $dbh, $frameworkcode, $unlinked_item_subfields);
|
||||
my $localitemmarc = MARC::Record->new;
|
||||
$localitemmarc->append_fields( $source_item_marc->field($itemtag) );
|
||||
my $item = C4::Biblio::TransformMarcToKoha( $localitemmarc, $frameworkcode, 'items' );
|
||||
my $unlinked_item_subfields = _get_unlinked_item_subfields( $localitemmarc, $frameworkcode );
|
||||
return AddItem( $item, $biblionumber, $dbh, $frameworkcode, $unlinked_item_subfields );
|
||||
}
|
||||
|
||||
=head2 AddItem
|
||||
|
|
Loading…
Reference in a new issue