From 549fed61537422b2ccb1687dc172e4ff76ea0729 Mon Sep 17 00:00:00 2001 From: Adrien Saurat Date: Fri, 1 Jun 2012 11:08:28 +0200 Subject: [PATCH] [SIGNED-OFF] Bug 7241: fix for the CIRC logs -> itemnumber stored correctly Content-Type: text/plain; charset="utf-8" Signed-off-by: Owen Leonard --- C4/Circulation.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/C4/Circulation.pm b/C4/Circulation.pm index 78915ed..3df29db 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! @@ -1730,7 +1730,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. -- 1.7.9.5