* Assignto method

This commit is contained in:
zenggang
2023-04-27 11:16:51 +00:00
parent 0212378866
commit 8979e405cd
7 changed files with 247 additions and 118 deletions
+4 -1
View File
@@ -290,7 +290,10 @@ class taskTest
$createFields = array('assignedTo' => '', 'status' => '', 'comment' => '');
foreach($createFields as $field => $defaultValue) $_POST[$field] = $defaultValue;
foreach($param as $key => $value) $_POST[$key] = $value;
$object = $this->objectModel->assign($taskID);
$task = $_POST;
unset($task['comment']);
$object = $this->objectModel->assign((object)$task, $taskID);
unset($_POST);
if(dao::isError())
{