From 086115204dc5471b8f5a23747bec5dc9934ea53d Mon Sep 17 00:00:00 2001 From: liyang Date: Tue, 20 Aug 2024 12:22:13 +0800 Subject: [PATCH] * [task#126305] fix bug on edit story. --- module/story/model.php | 1 + 1 file changed, 1 insertion(+) diff --git a/module/story/model.php b/module/story/model.php index da3e01d547..fc61b85abc 100644 --- a/module/story/model.php +++ b/module/story/model.php @@ -922,6 +922,7 @@ class storyModel extends model $childPath = strstr($childPath, ",{$parent->id},"); $this->dao->update(TABLE_STORY) ->set('product')->eq($parent->product) + ->set('branch')->eq($parent->branch) ->set('module')->eq(0) ->set('root')->eq($parent->root) ->set('path')->eq($childPath)