From 1fdea8f5237963887ec17cb156438fb8371f44cf 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 Signed-off-by: Victor Grousset/tuxayo --- Koha/Illrequest.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Koha/Illrequest.pm b/Koha/Illrequest.pm index 95f61b3de4..08028123fe 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.44.0