From 2900e46584a1e5cb24d9bd1f76ebca7f089d3278 Mon Sep 17 00:00:00 2001 From: MyuTsu Date: Thu, 24 Apr 2025 14:58:24 +0200 Subject: [PATCH] fix(export): resolve blank page issue on PDF export --- inc/common.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/common.class.php b/inc/common.class.php index a6ee457..a0d2981 100644 --- a/inc/common.class.php +++ b/inc/common.class.php @@ -162,7 +162,7 @@ final public static function displayCommonTabForPDF(PluginPdfSimplePDF $pdf, Com if ($item instanceof CommonDBTM) { switch ($tab) { case $item->getType() . '$main': - $item::pdfMain($pdf, $item); // @phpstan-ignore-line - Call to an undefined static method CommonGLPI::pdfMain() + static::pdfMain($pdf, $item); // @phpstan-ignore-line - Call to an undefined static method CommonGLPI::pdfMain() break; case 'Notepad$1':