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

(-)a/C4/Letters.pm (-2 / +1 lines)
Lines 1416-1422 sub _send_message_by_email { Link Here
1416
        } else {
1416
        } else {
1417
            $email = Koha::Email->create($params);
1417
            $email = Koha::Email->create($params);
1418
            if ($is_html) {
1418
            if ($is_html) {
1419
                $content .= "<br/>$message->{letter_id}" if $message->{id} && C4::Context->preference('SendLetterIdInEmailNotices');
1419
                $content .= "<span id='letter_id' style='display:none'>$message->{letter_id}</span>" if $message->{id} && C4::Context->preference('SendLetterIdInEmailNotices');
1420
                $email->html_body( _wrap_html( $content, $subject ) );
1420
                $email->html_body( _wrap_html( $content, $subject ) );
1421
            } else {
1421
            } else {
1422
                $content .= "\n$message->{letter_id}" if $message->{id} && C4::Context->preference('SendLetterIdInEmailNotices');
1422
                $content .= "\n$message->{letter_id}" if $message->{id} && C4::Context->preference('SendLetterIdInEmailNotices');
1423
- 

Return to bug 31627