This commit is contained in:
tanghucheng
2022-01-28 13:15:02 +08:00
parent 6b91759988
commit 1506fe5e4c
2 changed files with 7 additions and 0 deletions
+5
View File
@@ -1343,6 +1343,11 @@ class actionModel extends model
$action->objectLink = helper::createLink('assetlib', 'storyView', "storyID=$action->objectID");
}
if($action->objectType == 'story' and $this->config->vision == 'lite')
{
$action->objectLink = helper::createLink('projectstory', 'view', "storyID=$action->objectID");
}
if(strpos(',kanbanregion,kanbancard,', ",{$action->objectType},") !== false)
{
$table = $this->config->objectTables[$action->objectType];
+2
View File
@@ -725,6 +725,8 @@ class task extends control
{
$this->session->set('executionList', $this->app->getURI(true), 'execution');
$this->commonAction($taskID);
$taskID = (int)$taskID;
$task = $this->task->getById($taskID, true);
if(!$task)