From 2d9289e1d3a2d4816a782f978735a543585a9e24 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 --- 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.34.1