N°4762-fix fresh install setup crash

This commit is contained in:
odain
2023-02-24 10:08:05 +01:00
parent 28df2942e4
commit 60b08586c2

View File

@@ -274,7 +274,7 @@ class MFCompiler
try
{
if ($oConfig->Get('set_menu_compilation_algorithm') === 'v2'){
if (! is_null($oConfig) && $oConfig->Get('set_menu_compilation_algorithm') === 'v2'){
$this->DoNewCompile($sTempTargetDir, $sFinalTargetDir, $oP = null, $bUseSymbolicLinks);
} else {
$this->DoCompile($sTempTargetDir, $sFinalTargetDir, $oP = null, $bUseSymbolicLinks);