View | Details | Raw Unified | Return to bug 20937
Collapse All | Expand All

(-)a/misc/cronjobs/overdue_notices.pl (-1 / +2 lines)
Lines 683-688 END_SQL Link Here
683
                        # email or sms is requested but not exist, do a print.
683
                        # email or sms is requested but not exist, do a print.
684
                        $effective_mtt = 'print';
684
                        $effective_mtt = 'print';
685
                    }
685
                    }
686
                    splice @items, $PrintNoticesMaxLines if $effective_mtt eq 'print' && $PrintNoticesMaxLines && scalar @items > $PrintNoticesMaxLines;
687
                    #catch the case where we are sending a print to someone with an email
686
688
687
                    my $letter_exists = C4::Letters::getletter( 'circulation', $overdue_rules->{"letter$i"}, $branchcode, $effective_mtt ) ? 1 : 0;
689
                    my $letter_exists = C4::Letters::getletter( 'circulation', $overdue_rules->{"letter$i"}, $branchcode, $effective_mtt ) ? 1 : 0;
688
                    my $letter = parse_overdues_letter(
690
                    my $letter = parse_overdues_letter(
689
- 

Return to bug 20937