* Fix bug#3531.

This commit is contained in:
qiyu-xie
2020-09-27 14:07:44 +08:00
parent b84075ff72
commit 265edb02d0
-1
View File
@@ -624,7 +624,6 @@ 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(empty($_POST['branch'])) $story->branch = 0;
if(!empty($_POST['stages']))
{
$oldStages = $this->dao->select('*')->from(TABLE_STORYSTAGE)->where('story')->eq($storyID)->fetchAll('branch');