Topic: Sales Order Email Attachment generated without filename

Need Help,

Everytime i generate email for Sales Order, the attachment is sent without fillename on the mail only show .PDF this only happens on Sales Order when i try with Invoice the attachment filename is normal showing invoice reference number as the filename

Please Help.

Regards,
SiKumbang

Re: Sales Order Email Attachment generated without filename

So looking at the file rep109.php i try to add below code on line 82 inside the IF code then the filename generated normally, i am not a programmer can someone look at this and see if the change would not have bad impact?

code wrote:

$rep->filename = $myrow['reference'] . ".pdf";}

Regards,
SiKumbang