N°2013 Setup : fix crash on setting readonly mode if initial DB info were wrong

Same as 15d3201a, but this error happened before compilation, when setting read only mode.
As before this is another fix for #351.

This fix introduces the new method \WizardController::GetParamForConfigArray
I replaced existing duplicate code with a call to this new generic method.
This commit is contained in:
Pierre Goiffon
2023-01-10 10:11:24 +01:00
parent d3d89b1ee2
commit 43d86ad8e2
6 changed files with 52 additions and 56 deletions

View File

@@ -22,7 +22,7 @@ abstract class Parameters
}
/**
* @return array to use with {@see Config::UpdateFromParams}
* @return array Allow to update config using {@see Config::UpdateFromParams()}
*/
public function GetParamForConfigArray()
{