This commit is contained in:
sunguangming
2022-10-09 13:17:40 +08:00
parent 2d6460f443
commit 86409982fd
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -554,7 +554,7 @@ class story extends control
}
/* Project or execution linked stories. */
if($executionID and $storyType == 'story')
if($executionID)
{
$products = array();
foreach($mails as $story) $products[$story->storyID] = $productID;
+1 -1
View File
@@ -300,7 +300,7 @@ class storyModel extends model
}
/* Project or execution linked story. */
if($executionID != 0 and $story->type == 'story')
if($executionID != 0)
{
$this->linkStory($executionID, $this->post->product, $storyID);
if($this->config->systemMode == 'new' and $executionID != $this->session->project) $this->linkStory($this->session->project, $this->post->product, $storyID);