Bug 9016: (follow-up) treat missing transports for overdue notices as warnings

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
This commit is contained in:
Galen Charlton 2014-05-02 21:11:30 +00:00
parent b967a82f1c
commit f3681addc3

View file

@ -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 ) {