mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
N°4762-fix fresh install setup crash
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user