HOR-2876 pull request note

This commit is contained in:
Roly Rudy Gutierrez Pinto
2017-03-16 12:38:58 -04:00
parent e6ab1aa5d9
commit 82c1695531

View File

@@ -108,14 +108,8 @@ class RoutingScreen extends \Derivation
$delete = true;
}
}
if ($delete) {
$thereIsNoTask = true;
if ($response[$index]["NEXT_TASK"]["TAS_UID"] === "-1") {
$thereIsNoTask = false;
}
if ($thereIsNoTask === true) {
unset($response[$index]);
}
if ($delete && $response[$index]["NEXT_TASK"]["TAS_UID"] !== "-1") {
unset($response[$index]);
}
}
}