From 28cb8fdee2f70325be69e24798b9374545678b95 Mon Sep 17 00:00:00 2001 From: Henning <leutz@pcsg.de> Date: Mon, 30 Dec 2024 15:51:52 +0100 Subject: [PATCH] fix: check const defined at pdf download --- bin/output/backend/download.php | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/bin/output/backend/download.php b/bin/output/backend/download.php index a963000..3265449 100644 --- a/bin/output/backend/download.php +++ b/bin/output/backend/download.php @@ -5,8 +5,13 @@ * It opens the native download dialog */ -define('QUIQQER_SYSTEM', true); -define('QUIQQER_AJAX', true); +if (!defined('QUIQQER_SYSTEM')) { + define('QUIQQER_SYSTEM', true); +} + +if (!defined('QUIQQER_AJAX')) { + define('QUIQQER_AJAX', true); +} require_once dirname(__FILE__, 6) . '/header.php'; -- GitLab