mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 02:28:44 +02:00
#1022 Do cascade the resolution of an incident to its child requests + rework of the lifecycle/actions to ease the extensibility (New handlers: Rest, Copy, SetCurrentDate, SetCurrentUser, SetElapsedTime)
SVN:trunk[3423]
This commit is contained in:
@@ -1247,12 +1247,12 @@ EOF;
|
||||
{
|
||||
$sParamType = 'string';
|
||||
}
|
||||
$aActionParams[] = "array('type' => '$sType', 'value' => ".self::QuoteForPHP($oParam->textContent).")";
|
||||
$aActionParams[] = "array('type' => '$sParamType', 'value' => ".self::QuoteForPHP($oParam->textContent).")";
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
// Old (pre 2.0.4) format, when no parameter is specified, assume 1 parameter: reference sStimulusCode
|
||||
// Old (pre 2.1.0) format, when no parameter is specified, assume 1 parameter: reference sStimulusCode
|
||||
$aActionParams[] = "array('type' => 'reference', 'value' => 'sStimulusCode')";
|
||||
}
|
||||
$sActionParams = 'array('.implode(', ', $aActionParams).')';
|
||||
|
||||
Reference in New Issue
Block a user