From f3681addc3168cdc34eb2b3ba558b4bd786696a3 Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Fri, 2 May 2014 21:11:30 +0000 Subject: [PATCH] Bug 9016: (follow-up) treat missing transports for overdue notices as warnings Signed-off-by: Galen Charlton --- misc/cronjobs/overdue_notices.pl | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/misc/cronjobs/overdue_notices.pl b/misc/cronjobs/overdue_notices.pl index 855558dd4f..2a9f8ae930 100755 --- a/misc/cronjobs/overdue_notices.pl +++ b/misc/cronjobs/overdue_notices.pl @@ -593,10 +593,8 @@ END_SQL ); unless ($letter) { $verbose and warn "Message '$overdue_rules->{letter$i}' content not found"; - - # might as well skip while PERIOD, no other borrowers are going to work. - # FIXME : Does this mean a letter must be defined in order to trigger a debar ? - next PERIOD; + # this transport doesn't have a configured notice, so try another + next; } if ( $exceededPrintNoticesMaxLines ) { -- 2.39.5