* Fix issues of the batch review stories.
This commit is contained in:
@@ -1133,7 +1133,7 @@ class storyModel extends model
|
||||
}
|
||||
|
||||
$this->dao->update(TABLE_STORY)->data($story, 'finalResult')->autoCheck()->where('id')->eq($storyID)->exec();
|
||||
$this->setStage($storyID);
|
||||
$this->setStage((int)$storyID);
|
||||
|
||||
$story->id = $storyID;
|
||||
$this->recordReviewAction($story, $result, $reason);
|
||||
|
||||
@@ -10,7 +10,11 @@ $getAffectedTabs = function($story, $users)
|
||||
foreach($story->executions as $executionID => $execution)
|
||||
{
|
||||
$teams = '';
|
||||
foreach($story->teams[$executionID] as $member) $teams .= zget($users, $member) . ' ';
|
||||
if(isset($story->teams[$executionID]))
|
||||
{
|
||||
foreach($story->teams[$executionID] as $member) $teams .= zget($users, $member) . ' ';
|
||||
}
|
||||
|
||||
$affectedTaskCount += count(zget($story->tasks, $executionID, array()));
|
||||
$affectedProjects[] = h6
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user