N°9144 Button Back from recap screen return to extensions choice instead of data audit, Catch exception during compilation to exit maintenance mode

This commit is contained in:
Timothee
2026-02-04 11:42:16 +01:00
parent 6b4413fffc
commit d0ac19c8d1
7 changed files with 88 additions and 57 deletions

View File

@@ -814,7 +814,15 @@ EOF
public function GetNextButtonLabel()
{
return $this->bCanMoveForward ? 'Next' : 'Non-uninstallable extension missing';
if (!$this->bCanMoveForward) {
return 'Non-uninstallable extension missing';
}
if ($this->GetStepInfo(1 + $this->GetStepIndex()) === null) {
return 'Check compatibility';
}
return 'Next';
}
}