N°9144 Check new step class before instanciating

This commit is contained in:
Timothee
2026-02-17 10:04:03 +01:00
parent defca2d31e
commit 0ace957a45
3 changed files with 24 additions and 9 deletions

View File

@@ -92,7 +92,7 @@ abstract class AbstractWizStepInstall extends WizardStep
'language' => $this->oWizard->GetParameter('default_language'),
'selected_modules' => $aSelectedModules,
'selected_extensions' => $aSelectedExtensions,
'sample_data' => ($this->oWizard->GetParameter('sample_data', '') == 'yes') ? true : false ,
'sample_data' => $this->oWizard->GetParameter('sample_data', '') === 'yes',
'old_addon' => $this->oWizard->GetParameter('old_addon', false), // whether or not to use the "old" userrights profile addon
'options' => json_decode($this->oWizard->GetParameter('misc_options', '[]'), true),
'mysql_bindir' => $this->oWizard->GetParameter('mysql_bindir'),