* [task#122034,done,0.1h] finish task.

This commit is contained in:
sunguangming
2024-07-01 08:51:14 +08:00
committed by 田淑杰
parent db1e40846d
commit 9256898587
-5
View File
@@ -1175,7 +1175,6 @@ class storyZen extends story
->setIF(!in_array($this->post->source, $this->config->story->feedbackSource), 'notifyEmail', '')
->setIF($executionID > 0, 'stage', 'projected')
->setIF($bugID > 0, 'fromBug', $bugID)
->setIF($storyType != 'story', 'stage', 'defining')
->get();
if(isset($_POST['reviewer'])) $_POST['reviewer'] = array_filter($_POST['reviewer']);
@@ -1500,10 +1499,6 @@ class storyZen extends story
{
$story->stage = $storyType == 'story' ? 'projected' : 'planning';
}
else
{
$story->stage = $storyType == 'story' ? 'wait' : 'defining';
}
!empty($story->assignedTo) && $story->assignedDate = $now;
if($this->post->uploadImage && $this->post->uploadImage[$i]) $story->uploadImage = $this->post->uploadImage[$i];