diff options
author | sunnavy <sunnavy@bestpractical.com> | 2022-07-13 07:57:47 +0300 |
---|---|---|
committer | sunnavy <sunnavy@bestpractical.com> | 2022-07-13 07:57:47 +0300 |
commit | 76966873b4027c5939c61ba6df3756a1e4f640ed (patch) | |
tree | 38cb2d3f561b2badb2ea74ea9f23a460f8753b3d | |
parent | cd685af9b7425525a94c4c972c4bdd106dfaa8c3 (diff) | |
parent | abdc57cac8da9cea189b154413a022a3652f2ef7 (diff) |
Merge branch '4.4/prevent-warning-attachment-image-rewrite' into 4.4.6-relengrt-4.4.6
-rw-r--r-- | share/html/Ticket/Attachment/dhandler | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/share/html/Ticket/Attachment/dhandler b/share/html/Ticket/Attachment/dhandler index 442c63193e..045896aaed 100644 --- a/share/html/Ticket/Attachment/dhandler +++ b/share/html/Ticket/Attachment/dhandler @@ -83,6 +83,7 @@ elsif (lc $content_type eq 'text/html') { Content => \$content, Attachment => $AttachmentObj, ); + $count //= 0; # RewriteInlineImages can return undef when nothing needs to be rewritten RT->Logger->debug("Rewrote $count CID images when displaying original HTML attachment #$attach"); } |