* Fix back link problem of execution module.

This commit is contained in:
tianshujie
2021-08-30 13:57:21 +08:00
parent cc9ad9a713
commit 8ca2119f37
6 changed files with 9 additions and 4 deletions
+2
View File
@@ -666,6 +666,8 @@ class task extends control
*/
public function view($taskID)
{
$this->session->set('executionList', $this->app->getURI(true), 'execution');
$taskID = (int)$taskID;
$task = $this->task->getById($taskID, true);
if(!$task) die(js::error($this->lang->notFound) . js::locate('back'));