Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor transaction list generation for bulk_payments
Refactors code in LedgerSMB::DBObject::Payment post_bulk() method, to clarify purpose and resolve a `What magic happens here?!?!` comment. Rather than manually building a comma-separated list, with code to handle the special case of a single value, we now rely on perl's built-in `join` function. An unnecessary regex is removed. It serves no purpose, because another regex, a few lines earlier, has already validated the format and content of the string being processed.
- Loading branch information