From 491164db14dc1bd6c2201a689a270eefc63af1e0 Mon Sep 17 00:00:00 2001 From: Pedro Amorim Date: Fri, 16 Feb 2024 16:28:10 +0000 Subject: [PATCH] Bug 36118: [DONT PUSH] patch to test patron notice only --- Koha/Illrequest.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Koha/Illrequest.pm b/Koha/Illrequest.pm index 95f61b3de46..08028123fe7 100644 --- a/Koha/Illrequest.pm +++ b/Koha/Illrequest.pm @@ -1610,13 +1610,13 @@ sub send_patron_notice { push @fail, $transport; } } - if (scalar @success > 0) { + # if (scalar @success > 0) { my $logger = Koha::Illrequest::Logger->new; $logger->log_patron_notice({ request => $self, notice_code => $notice_code }); - } + # } return { result => { success => \@success, -- 2.30.2