Merge branch 'ticket_474' into 'master'

* Adjust code.

See merge request easycorp/zentaopms!7263
This commit is contained in:
王怡栋
2023-03-24 00:18:39 +00:00
+1 -1
View File
@@ -914,7 +914,7 @@ class storyModel extends model
}
}
/*Fix product changes when editing requirements on site */
/* Unchanged product when editing requirements on site. */
$storyProjectID = $this->dao->select('t2.hasProduct')->from(TABLE_PROJECTPRODUCT)->alias('t1')
->leftJoin(TABLE_PROJECT)->alias('t2')->on('t1.project = t2.id')
->where('t1.product')->eq($oldStory->product)