In purchase orders, email attachments via a report definition were only added if there was only one purchase order line

In purchase orders, email attachments via a report definition were only added if there was only one purchase order line.