mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-19 15:22:17 +02:00
N°9567 - Extension Mgmt : Run setup
This commit is contained in:
@@ -296,7 +296,7 @@ on the page's parameters
|
||||
|
||||
$sOperation = utils::ReadParam('operation');
|
||||
$this->aParameters = utils::ReadParam('_params', [], false, 'raw_data');
|
||||
$this->aSteps = json_decode(utils::ReadParam('_steps', '[]', false, 'raw_data'), true /* bAssoc */);
|
||||
$this->SetSteps(json_decode(utils::ReadParam('_steps', '[]', false, 'raw_data'), true));
|
||||
|
||||
switch ($sOperation) {
|
||||
case 'next':
|
||||
@@ -371,6 +371,11 @@ on the page's parameters
|
||||
return $sOutput;
|
||||
}
|
||||
|
||||
public function SetSteps(array $aSteps): void
|
||||
{
|
||||
$this->aSteps = $aSteps;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $sCurrentStepClass
|
||||
* @param string $sCurrentState
|
||||
|
||||
Reference in New Issue
Block a user