* Modifying branches to all branches does not take effect.

This commit is contained in:
qiyu-xie
2020-09-28 09:58:28 +08:00
parent 265edb02d0
commit 45aa11af9b
+1
View File
@@ -624,6 +624,7 @@ class storyModel extends model
->get();
if(isset($story->plan) and is_array($story->plan)) $story->plan = trim(join(',', $story->plan), ',');
if(empty($_POST['product'])) $story->branch = $oldStory->branch;
if($_POST['product'] == 0) $story->branch = 0;
if(!empty($_POST['stages']))
{
$oldStages = $this->dao->select('*')->from(TABLE_STORYSTAGE)->where('story')->eq($storyID)->fetchAll('branch');