* Use the php to operate cookie for safe.

This commit is contained in:
hufangzhou
2022-09-22 09:41:53 +08:00
parent 0dad4d834f
commit 2b85f8cd1a
4 changed files with 11 additions and 7 deletions
+1 -1
View File
@@ -943,7 +943,7 @@ class task extends control
$execution = $this->execution->getById($task->execution);
if(!isonlybody() and $execution->type == 'kanban')
{
setcookie('taskID', $taskID, 0, $this->config->webRoot, '', false, false);
setcookie('taskToOpen', $taskID, 0, $this->config->webRoot, '', false, true);
return print(js::locate($this->createLink('execution', 'kanban', "executionID=$execution->id")));
}