Merge branch 'sprint/scx_fixstorybug' into 'master'

* Fix bug #21992.

See merge request easycorp/zentaopms!3113
This commit is contained in:
孙广明
2022-04-25 09:27:24 +00:00
+2 -1
View File
@@ -253,7 +253,8 @@ class storyModel extends model
{
$storyID = $this->dao->lastInsertID();
if($story->parent)
/* Fix bug #21992, user story have no parent story. */
if(isset($story->parent) and $story->parent)
{
$stories = array($storyID);
$this->subdivide($story->parent, $stories);