From f89cb71f61b0802422a09c09231d1212e83ca0ec Mon Sep 17 00:00:00 2001 From: odain Date: Tue, 20 Jan 2026 15:49:13 +0100 Subject: [PATCH] simplify WizardStep::GetTitle --- setup/wizardsteps.class.inc.php | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/setup/wizardsteps.class.inc.php b/setup/wizardsteps.class.inc.php index a97b680c2..9b00345dc 100644 --- a/setup/wizardsteps.class.inc.php +++ b/setup/wizardsteps.class.inc.php @@ -1372,9 +1372,13 @@ class WizStepModulesChoice extends WizardStep public function GetTitle() { - $aStepInfo = $this->GetStepInfo(); - $sTitle = isset($aStepInfo['title']) ? $aStepInfo['title'] : 'Modules selection'; - return $sTitle; + if (@file_exists($this->GetSourceFilePath())) { + // Found an "installation.xml" file, let's use this definition for the wizard + return 'Extensions'; + } + + // No wizard configuration provided, build a standard one with just one big list. All items are mandatory, only works when there are no conflicted modules. + return 'Modules Selection'; } public function GetPossibleSteps()