summaryrefslogtreecommitdiff
path: root/app/Report/ReportPdfImage.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Report/ReportPdfImage.php')
-rw-r--r--app/Report/ReportPdfImage.php2
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)) {