Bug 18971: Typo Koha::ItemsTypes for Koha::ItemTypes
[koha.git] / acqui / orderreceive.pl
index f09e364..ee244d7 100755 (executable)
@@ -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;
     }