This commit is contained in:
Roly Rudy Gutierrez Pinto
2017-03-16 12:25:47 -04:00
parent 70e5fe222b
commit e6ab1aa5d9

View File

@@ -109,7 +109,13 @@ class RoutingScreen extends \Derivation
}
}
if ($delete) {
unset($response[$index]);
$thereIsNoTask = true;
if ($response[$index]["NEXT_TASK"]["TAS_UID"] === "-1") {
$thereIsNoTask = false;
}
if ($thereIsNoTask === true) {
unset($response[$index]);
}
}
}
}