zikula-modules/Formicula

Wrong name displayed for attached file

Closed this issue · 0 comments

If file attachments are managed to work (added enctype attribute to userform, and uncommented attachment section), then in confirmation page, and in sent emails, we obtain "Array" instead of attached file name. To correct this:
change:

$custom.fileupload.data

to:

$custom.fileupload.data.name