* story: fix var name.

This commit is contained in:
sunhao
2024-03-13 15:51:46 +08:00
parent 4a7430055c
commit b10872cd80
+1 -1
View File
@@ -1165,7 +1165,7 @@ class storyZen extends story
if($storyData->status != 'draft' and $this->story->checkForceReview() and !$this->post->needNotReview) $storyData->status = 'reviewing';
/* If in ipd mode, set requirement status = 'launched'. */
if($this->config->systemMode == 'PLM' and $story->type == 'requirement' and $story->status == 'active' and $this->config->vision == 'rnd') $story->status = 'launched';
if($this->config->systemMode == 'PLM' and $storyData->type == 'requirement' and $storyData->status == 'active' and $this->config->vision == 'rnd') $storyData->status = 'launched';
return $this->loadModel('file')->processImgURL($storyData, $editorFields, $this->post->uid);
}