This commit is contained in:
tianshujie
2022-04-11 13:15:41 +08:00
parent c1232cef69
commit 1a861ef225
+2 -1
View File
@@ -163,7 +163,8 @@ class story extends control
$object = $this->dao->findById((int)$objectID)->from(TABLE_PROJECT)->fetch();
if($object->type != 'project')
{
$this->loadModel('action')->create('story', $storyID, 'linked2execution', '', $objectID);
$actionType = $object->type == 'kanban' ? 'linked2kanban' : 'linked2execution';
$this->loadModel('action')->create('story', $storyID, $actionType, '', $objectID);
}
else
{