From 26709f6a7c79ffc4ddecdef885d208da857af553 Mon Sep 17 00:00:00 2001 From: ATM-Lucas Date: Thu, 19 Dec 2024 16:10:19 +0100 Subject: [PATCH] Bad GETPOSTINT for document preview --- htdocs/document.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/document.php b/htdocs/document.php index ede788ab2faed..f0e60549d1c9a 100644 --- a/htdocs/document.php +++ b/htdocs/document.php @@ -103,7 +103,7 @@ function llxFooter() $hashp = GETPOST('hashp', 'aZ09'); $modulepart = GETPOST('modulepart', 'alpha'); $urlsource = GETPOST('urlsource', 'alpha'); -$entity = GETPOSTINT('entity', $conf->entity); +$entity = GETPOSTINT('entity'); // Security check if (empty($modulepart) && empty($hashp)) {