Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MDL-65954 dataformat_pdf: Convert object records to array
* count() doesn't work quite as expected when the record being written to the PDF is an object. So make sure to convert the record to an array. * In addition, instead of comparing the total vs the current cell counter, it would be more reliable to determine whether we're at the last element of the array by getting the key for the last element and comparing it with the key for the element that's currently being processed.
- Loading branch information