Fix php8.2 warnings

This commit is contained in:
Laurent Destailleur
2023-11-27 11:39:32 +01:00
parent de96af8543
commit 53dab922fd
407 changed files with 2909 additions and 2908 deletions

View File

@@ -374,7 +374,7 @@ class ModeleBoxes // Can't be abtract as it is instantiated to build "empty" box
$out .= "</div>\n";
$out .= "<!-- Box ".get_class($this)." end -->\n\n";
if (!empty($conf->global->MAIN_ACTIVATE_FILECACHE)) {
if (getDolGlobalString('MAIN_ACTIVATE_FILECACHE')) {
dol_filecache($cachedir, $filename, $out);
}
} else {