diff options
Diffstat (limited to 'app/Report/ReportPdfImage.php')
| -rw-r--r-- | app/Report/ReportPdfImage.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Report/ReportPdfImage.php b/app/Report/ReportPdfImage.php index a9788ae61e..947a2e7418 100644 --- a/app/Report/ReportPdfImage.php +++ b/app/Report/ReportPdfImage.php @@ -31,7 +31,7 @@ class ReportPdfImage extends ReportBaseImage */ public function render($renderer) { - global $lastpicbottom, $lastpicpage, $lastpicleft, $lastpicright; + static $lastpicbottom, $lastpicpage, $lastpicleft, $lastpicright; // Check for a pagebreak first if ($renderer->checkPageBreakPDF($this->height + 5)) { |
