fix phpstan (#26814)
This commit is contained in:
parent
dfd25926f1
commit
de1b8da5ed
1 changed files with 1 additions and 0 deletions
|
|
@ -72,6 +72,7 @@ class html_generic extends ModeleDon
|
|||
private function loadTranslationFiles($outputlangs)
|
||||
{
|
||||
if (!is_object($outputlangs)) {
|
||||
global $langs;
|
||||
$outputlangs = $langs;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue