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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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