From a263230a06e95f09547d1e9fad110debe1ebdefd Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Thu, 15 Jan 2009 15:26:18 -0600 Subject: [PATCH] followup to holds policies - fix itype Overriding items.itype from biblioitems.itemtype is needed only with item-level_itypes is OFF. [LL bug 321] Signed-off-by: Daniel Sweeney Signed-off-by: Galen Charlton --- reserve/request.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reserve/request.pl b/reserve/request.pl index 7b074ab28c..dcb6cae272 100755 --- a/reserve/request.pl +++ b/reserve/request.pl @@ -255,7 +255,7 @@ foreach my $biblioitemnumber (@biblioitemnumbers) { foreach my $itemnumber ( @{ $itemnumbers_of_biblioitem{$biblioitemnumber} } ) { my $item = $iteminfos_of->{$itemnumber}; - if (C4::Context->preference('item-level_itypes')) { + unless (C4::Context->preference('item-level_itypes')) { $item->{itype} = $biblioitem->{itemtype}; } -- 2.39.5