* Fix bug #28292.
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user