From 04460ad6495c98e2f21edbe68acb4dccc02a4f5d Mon Sep 17 00:00:00 2001 From: Pedro Amorim Date: Mon, 1 Apr 2024 12:39:22 +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 9dfe275eff0..00a98be1f0c 100644 --- a/Koha/Illrequest.pm +++ b/Koha/Illrequest.pm @@ -1640,13 +1640,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