Fixed issue: #7220: PDF Export of Results in Fatal PHP Error