From 4944c34547609994c97e1b8afc7431c6f18f6b19 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 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 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