From 42ba50e1eb8c5fc9572514d9bbc32689a3302c6f 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 --- C4/Circulation.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Circulation.pm b/C4/Circulation.pm index bd8ecfc58f..46c14732a8 100644 --- a/C4/Circulation.pm +++ b/C4/Circulation.pm @@ -2466,7 +2466,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 ) { -- 2.39.5