From 5166fb9d3cef597da9468533b1562ca83db9ea55 Mon Sep 17 00:00:00 2001 From: Emily Lamancusa Date: Mon, 21 Oct 2024 08:52:21 -0400 Subject: [PATCH] Bug 37505: (QA follow-up) Don't log return stat if ignore_localuse and no checkout Signed-off-by: Emily Lamancusa Signed-off-by: Katrin Fischer (cherry picked from commit 42ba50e1eb8c5fc9572514d9bbc32689a3302c6f) Signed-off-by: Lucas Gass --- C4/Circulation.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Circulation.pm b/C4/Circulation.pm index 2bebdc0de4..5844172556 100644 --- a/C4/Circulation.pm +++ b/C4/Circulation.pm @@ -2460,7 +2460,7 @@ sub AddReturn { ccode => $item->ccode, categorycode => $categorycode, interface => C4::Context->interface, - }) unless ( $skip_localuse && $stat_type eq 'localuse' ); + }) unless ( $skip_localuse && !$issue ); # Send a check-in slip. # NOTE: borrower may be undef. Do not try to send messages then. if ( $patron ) {