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

(-)a/C4/Overdues.pm (-5 / +5 lines)
Lines 782-796 sub GetOverdueMessageTransportTypes { Link Here
782
        },
782
        },
783
        {
783
        {
784
            join => 'overduerules_transport_types',
784
            join => 'overduerules_transport_types',
785
            '+select' => ['overduerules_transport_types.message_transport_type'],
786
            '+as' => ['message_transport_type'],
785
        }
787
        }
786
    )->next;
788
    );
787
789
788
    return [] unless $rule;
790
    return [] unless $rule;
789
791
790
    my $transport_types = $rule->transport_types;
791
    my @mtts;
792
    my @mtts;
792
    while ( my $mtt = $transport_types->next ) {
793
    while ( my $mtt = $rule->next ) {
793
        push @mtts, $mtt->message_transport_type;
794
        push @mtts, $mtt->get_column('message_transport_type');
794
    }
795
    }
795
796
796
    # Put 'print' in first if exists
797
    # Put 'print' in first if exists
797
- 

Return to bug 18086