This commit is contained in:
Zongjun Lan
2022-04-08 15:24:17 +08:00
parent 19d4f476f7
commit b9ba152440
+2 -1
View File
@@ -1128,7 +1128,8 @@ class story extends control
$storyID = (int)$storyID;
$story = $this->story->getById($storyID, $version, true);
if(!$story) return print(js::error($this->lang->notFound) . js::locate($this->createLink('product', 'index')));
$linkModuleName = $this->config->vision == 'lite' ? 'project' : 'product';
if(!$story) return print(js::error($this->lang->notFound) . js::locate($this->createLink($linkModuleName, 'index')));
$story = $this->story->mergeReviewer($story, true);