Closed tbar0970 closed 6 months ago
My version, which has that same code does not get that error.
I don't have a running copy of version 2.34.1.
I can only assume that line 248,249 is returning data for all persons.
In that case replace
$merge_data[$val] += $data;
with
if (isset($merge_data[$val])) {
$merge_data[$val] += $data;
}
View a report Tick SOME of the persons but not all Mail merge a document
It seems like the code is making the assumption that all persons in the report will be part of the merge