PMCORE-633
This commit is contained in:
@@ -2923,7 +2923,7 @@ class Processes
|
|||||||
foreach ($aStepSupervisor as $key => $row) {
|
foreach ($aStepSupervisor as $key => $row) {
|
||||||
$oStepSupervisor = new StepSupervisor();
|
$oStepSupervisor = new StepSupervisor();
|
||||||
if ($oStepSupervisor->Exists($row['STEP_UID'])) {
|
if ($oStepSupervisor->Exists($row['STEP_UID'])) {
|
||||||
$oStepSupervisor->update($row['STEP_UID']);
|
$oStepSupervisor->update($row);
|
||||||
} else {
|
} else {
|
||||||
$oStepSupervisor->create($row);
|
$oStepSupervisor->create($row);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1275,6 +1275,8 @@ class ProcessSupervisor
|
|||||||
$finPos = $prStepPos-1;
|
$finPos = $prStepPos-1;
|
||||||
}
|
}
|
||||||
$range = range($iniPos, $finPos);
|
$range = range($iniPos, $finPos);
|
||||||
|
$stepChangePos = [];
|
||||||
|
$stepChangeIds = [];
|
||||||
foreach ($aSteps as $dataStep) {
|
foreach ($aSteps as $dataStep) {
|
||||||
if ($dataStep['obj_type'] == 'DYNAFORM') {
|
if ($dataStep['obj_type'] == 'DYNAFORM') {
|
||||||
if ((in_array($dataStep['pud_position'], $range)) && ($dataStep['pud_uid'] != $step_uid)) {
|
if ((in_array($dataStep['pud_position'], $range)) && ($dataStep['pud_uid'] != $step_uid)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user