* Fix type error.

This commit is contained in:
dingguodong
2023-08-16 14:07:31 +08:00
parent 26b9430743
commit 456811de8d
+1 -1
View File
@@ -60,7 +60,7 @@ class task extends control
/* Submit the data process after create the task form. */
if(!empty($_POST))
{
$taskData = $this->taskZen->buildTaskForCreate($this->post->execution ? $this->post->execution : $executionID);
$taskData = $this->taskZen->buildTaskForCreate($this->post->execution ? (int)$this->post->execution : $executionID);
if(dao::isError()) return $this->send(array('result' => 'fail', 'message' => dao::getError()));
/* Check whether a task with the same name is created within the specified time. */