mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-19 00:28:47 +02: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