* Fix bug#15524.

This commit is contained in:
xieqiyu
2021-10-14 16:17:01 +08:00
parent 0541e5a87c
commit 140f2f88c8
2 changed files with 9 additions and 8 deletions
+1 -3
View File
@@ -85,7 +85,6 @@ class task extends control
$execution = $this->execution->getById($executionID);
$taskLink = $this->createLink('execution', 'browse', "executionID=$executionID&tab=task");
$storyLink = $this->session->storyList ? $this->session->storyList : $this->createLink('execution', 'story', "executionID=$executionID");
/* Set menu. */
$this->execution->setMenu($execution->id);
@@ -167,7 +166,7 @@ class task extends control
}
elseif($this->post->after == 'toStoryList')
{
$response['locate'] = $storyLink;
$response['locate'] = $this->createLink('execution', 'story', "executionID=$executionID");
return $this->send($response);
}
else
@@ -280,7 +279,6 @@ class task extends control
{
$taskLink = $this->createLink('execution', 'browse', "executionID=$executionID");
}
$storyLink = $this->session->storyList ? $this->session->storyList : $this->createLink('execution', 'story', "executionID=$executionID");
/* Set menu. */
$this->execution->setMenu($execution->id);