From f55b8493460116c06e88058af6d86de6700c7b37 Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Sat, 22 Jul 2017 21:48:49 +0200 Subject: [PATCH] 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 --- acqui/orderreceive.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.39.5