@@ -, +, @@ for returns and some local use - On a catalogue with itemtype on item level, perform a return an look at statistics table - Idem for a catalogue with itemtype on biblio level --- C4/Circulation.pm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) --- a/C4/Circulation.pm +++ a/C4/Circulation.pm @@ -1708,7 +1708,6 @@ sub AddReturn { $branch = C4::Context->userenv->{'branch'} unless $branch; # we trust userenv to be a safe fallback/default my $messages; my $borrower; - my $biblio; my $doreturn = 1; my $validTransfert = 0; my $stat_type = 'return'; @@ -1887,7 +1886,7 @@ sub AddReturn { UpdateStats( $branch, $stat_type, '0', '', $item->{'itemnumber'}, - $biblio->{'itemtype'}, + $item->{'itype'}, $borrowernumber, undef, $item->{'ccode'} ); --