diff options
Diffstat (limited to 'lualib/lua_meta.lua')
-rw-r--r-- | lualib/lua_meta.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lualib/lua_meta.lua b/lualib/lua_meta.lua index f2b008dd4..316c71d3d 100644 --- a/lualib/lua_meta.lua +++ b/lualib/lua_meta.lua @@ -103,7 +103,7 @@ local function meta_nparts_function(task) if parts then for _,p in ipairs(parts) do - if p:get_filename() then + if p:is_attachment() then nattachments = nattachments + 1 end totalparts = totalparts + 1 |