fix phpstan (#26814)

This commit is contained in:
Frédéric FRANCE
2023-11-23 15:12:13 +01:00
committed by GitHub
parent dfd25926f1
commit de1b8da5ed

View File

@@ -72,6 +72,7 @@ class html_generic extends ModeleDon
private function loadTranslationFiles($outputlangs)
{
if (!is_object($outputlangs)) {
global $langs;
$outputlangs = $langs;
}