From de1b8da5eda7a8f1cb006e4e2d13d5c6235dedee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20FRANCE?= Date: Thu, 23 Nov 2023 15:12:13 +0100 Subject: [PATCH] fix phpstan (#26814) --- htdocs/core/modules/dons/html_generic.modules.php | 1 + 1 file changed, 1 insertion(+) diff --git a/htdocs/core/modules/dons/html_generic.modules.php b/htdocs/core/modules/dons/html_generic.modules.php index bfefe38d959..399429504c1 100644 --- a/htdocs/core/modules/dons/html_generic.modules.php +++ b/htdocs/core/modules/dons/html_generic.modules.php @@ -72,6 +72,7 @@ class html_generic extends ModeleDon private function loadTranslationFiles($outputlangs) { if (!is_object($outputlangs)) { + global $langs; $outputlangs = $langs; }