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

(-)a/tools/letter.pl (-7 / +11 lines)
Lines 205-216 sub add_form { Link Here
205
205
206
            my $lang = $letter->{lang};
206
            my $lang = $letter->{lang};
207
            my $mtt = $letter->{message_transport_type};
207
            my $mtt = $letter->{message_transport_type};
208
            $letters{ $lang }{templates}{$mtt} = {
208
            if( $lang ne  'default' && !C4::Context->preference('TranslateNotices')) {
209
                message_transport_type => $letter->{message_transport_type},
209
                 next;
210
                is_html    => $letter->{is_html},
210
            }
211
                title      => $letter->{title},
211
            else {
212
                content    => $letter->{content} // '',
212
                $letters{ $lang }{templates}{$mtt} = {
213
            };
213
                    message_transport_type => $letter->{message_transport_type},
214
                    is_html    => $letter->{is_html},
215
                    title      => $letter->{title},
216
                    content    => $letter->{content} // '',
217
                };
218
            }
214
        }
219
        }
215
    }
220
    }
216
    else {
221
    else {
217
- 

Return to bug 23765