* Merge commit f2ef82eab3.

This commit is contained in:
songchenxuan
2023-11-10 09:16:03 +08:00
parent 967ccdd462
commit 7c6817f8b2
+1 -1
View File
@@ -2906,7 +2906,7 @@ class execution extends control
public function treeStory(int $storyID, int $version = 0)
{
$story = $this->loadModel('story')->getById($storyID, $version, true);
$product = $this->dao->findById($story->product)->from(TABLE_PRODUCT)->fields('name,id,type,shadow')->fetch();
$product = $this->dao->findById($story->product)->from(TABLE_PRODUCT)->fields('name,id,`type`,shadow')->fetch();
$this->view->story = $story;
$this->view->product = $product;