* Fix bug when creating task and sync to gitlab issue.

This commit is contained in:
dingguodong
2021-06-24 10:15:56 +08:00
parent a55f27056e
commit a907eb4b24
3 changed files with 9 additions and 2 deletions
+2
View File
@@ -92,6 +92,8 @@ class task extends control
setcookie('lastTaskModule', (int)$this->post->module, $this->config->cookieLife, $this->config->webRoot, '', $this->config->cookieSecure, false);
if($this->post->execution) $executionID = (int)$this->post->execution;
/* Create task here. */
$tasksID = $this->task->create($executionID);
if(dao::isError())
{