From a659d02dbe2e95659f8abcc5cdd985bbb89b89d3 Mon Sep 17 00:00:00 2001 From: Adrien Saurat Date: Fri, 1 Jun 2012 11:08:28 +0200 Subject: [PATCH] Bug 7241: fix for the CIRC logs -> itemnumber stored correctly Signed-off-by: Owen Leonard Signed-off-by: Paul Poulain --- C4/Circulation.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/C4/Circulation.pm b/C4/Circulation.pm index 8647943265..0450e19817 100644 --- a/C4/Circulation.pm +++ b/C4/Circulation.pm @@ -1129,7 +1129,7 @@ sub AddIssue { } } - logaction("CIRCULATION", "ISSUE", $borrower->{'borrowernumber'}, $biblio->{'biblionumber'}) + logaction("CIRCULATION", "ISSUE", $borrower->{'borrowernumber'}, $biblio->{'itemnumber'}) if C4::Context->preference("IssueLog"); } return ($datedue); # not necessarily the same as when it came in! @@ -1693,7 +1693,7 @@ sub AddReturn { }); } - logaction("CIRCULATION", "RETURN", $borrowernumber, $item->{'biblionumber'}) + logaction("CIRCULATION", "RETURN", $borrowernumber, $item->{'itemnumber'}) if C4::Context->preference("ReturnLog"); # FIXME: make this comment intelligible. -- 2.39.5