Merge branch 'sprint/179_zhengrunyu_Fixbug' into 'master'

*Fix bug 17653.

See merge request easycorp/zentaopms!1009
This commit is contained in:
孙广明
2021-12-20 08:34:27 +00:00
+1 -1
View File
@@ -1733,7 +1733,7 @@ class kanbanModel extends model
$now = helper::now();
$card = fixer::input('post')
->add('lastEditedBy', $this->app->user->account)
->add('createdDate', $now)
->add('lastEditedDate', $now)
->trim('name')
->setDefault('estimate', $oldCard->estimate)
->setIF(!empty($this->post->assignedTo) and $oldCard->assignedTo != $this->post->assignedTo, 'assignedDate', $now)