From: Marcel de Rooy Date: Sat, 22 Jul 2017 19:48:49 +0000 (+0200) Subject: Bug 18971: Typo Koha::ItemsTypes for Koha::ItemTypes X-Git-Url: http://git.rot13.org/?a=commitdiff_plain;ds=sidebyside;h=f55b8493460116c06e88058af6d86de6700c7b37;p=koha.git Bug 18971: Typo Koha::ItemsTypes for Koha::ItemTypes As reported by Nick, a typo from bug 17843. Signed-off-by: Marcel de Rooy Signed-off-by: Jonathan Druart Signed-off-by: Jonathan Druart --- diff --git a/acqui/orderreceive.pl b/acqui/orderreceive.pl index f09e3644e2..ee244d76c6 100755 --- a/acqui/orderreceive.pl +++ b/acqui/orderreceive.pl @@ -146,7 +146,7 @@ if ($AcqCreateItem eq 'receiving') { $descriptions = Koha::AuthorisedValues->get_description_by_koha_field({frameworkcode => $fw, kohafield => 'items.materials', authorised_value => $item->{materials} }); $item->{materials} = $descriptions->{lib} // ''; - my $itemtype = Koha::ItemsTypes->find( $item->{itype} ); + my $itemtype = Koha::ItemTypes->find( $item->{itype} ); $item->{itemtype} = $itemtype->description; # FIXME Should not it be translated_description? push @items, $item; }