]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Print all parts when printing html structure
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 29 Jul 2021 16:34:47 +0000 (17:34 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 29 Jul 2021 16:34:47 +0000 (17:34 +0100)
lualib/rspamadm/mime.lua

index 764d4f3258094b14569b5664d7fbbd333e5ffbce..a92c8c01c417bc22d0967d6cc3b289891c20e29a 100644 (file)
@@ -406,7 +406,7 @@ local function extract_handler(opts)
                 end
                 table.insert(res, elt)
               end)
-              out_elts[fname] = res
+              table.insert(out_elts[fname], res)
             else
               table.insert(out_elts[fname], tostring(part:get_content(how)))
             end