about summary refs log tree commit diff
path: root/export.c
diff options
context:
space:
mode:
Diffstat (limited to 'export.c')
-rw-r--r--export.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/export.c b/export.c
index 7a04358..ab77587 100644
--- a/export.c
+++ b/export.c
@@ -155,6 +155,7 @@ static int exportHTMLAttachment(
 		);
 	}
 	const char *name = paramGet(part->disposition.params, "filename");
+	if (!name) name = paramGet(part->params, "name");
 	const char *disposition = part->disposition.type;
 	if (!disposition) disposition = "INLINE";