From 60b08586c274bac465ce534a8f00a1d007405539 Mon Sep 17 00:00:00 2001 From: odain Date: Fri, 24 Feb 2023 10:08:05 +0100 Subject: [PATCH] =?UTF-8?q?N=C2=B04762-fix=20fresh=20install=20setup=20cra?= =?UTF-8?q?sh?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- setup/compiler.class.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/compiler.class.inc.php b/setup/compiler.class.inc.php index 6804acbe5..247ee68a3 100644 --- a/setup/compiler.class.inc.php +++ b/setup/compiler.class.inc.php @@ -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);