From ce52db9e810c52f37a46392752f3c58f6c93c9f2 Mon Sep 17 00:00:00 2001 From: Paul Poulain Date: Mon, 3 Sep 2012 17:34:03 +0200 Subject: [PATCH] Revert "Bug 7241: fix for the CIRC logs -> itemnumber stored correctly" This reverts commit a659d02dbe2e95659f8abcc5cdd985bbb89b89d3. --- C4/Circulation.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/C4/Circulation.pm b/C4/Circulation.pm index 0450e19817..8647943265 100644 --- a/C4/Circulation.pm +++ b/C4/Circulation.pm @@ -1129,7 +1129,7 @@ sub AddIssue { } } - logaction("CIRCULATION", "ISSUE", $borrower->{'borrowernumber'}, $biblio->{'itemnumber'}) + logaction("CIRCULATION", "ISSUE", $borrower->{'borrowernumber'}, $biblio->{'biblionumber'}) 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->{'itemnumber'}) + logaction("CIRCULATION", "RETURN", $borrowernumber, $item->{'biblionumber'}) if C4::Context->preference("ReturnLog"); # FIXME: make this comment intelligible. -- 2.39.2