HOR-2876
This commit is contained in:
@@ -109,10 +109,16 @@ class RoutingScreen extends \Derivation
|
||||
}
|
||||
}
|
||||
if ($delete) {
|
||||
$thereIsNoTask = true;
|
||||
if ($response[$index]["NEXT_TASK"]["TAS_UID"] === "-1") {
|
||||
$thereIsNoTask = false;
|
||||
}
|
||||
if ($thereIsNoTask === true) {
|
||||
unset($response[$index]);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
return array_combine(range(1, count($response)), array_values($response));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user