Commit 2a5c185b authored by Nicolas Delaby's avatar Nicolas Delaby

read filename from getFilename

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@41110 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent ca986ac6
......@@ -98,7 +98,7 @@ if attachment_list is None:\n
document_type_list = context.getPortalDocumentTypeList()\n
for attachment in context.getAggregateValueList(portal_type=document_type_list):\n
mime_type, content = attachment.getMimeTypeAndContent()\n
name = attachment.getReference()\n
name = attachment.getFilename()\n
\n
attachment_list.append({\'mime_type\':mime_type,\n
\'content\':content,\n
......@@ -211,8 +211,7 @@ if download:\n
<string>content</string>
<string>name</string>
<string>attachment_url</string>
<string>append</string>
<string>$append0</string>
<string>$list0</string>
<string>i</string>
<string>ord</string>
<string>mail_message</string>
......
902
\ No newline at end of file
905
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment