* Adjust code.

This commit is contained in:
tianshujie98
2021-06-30 16:27:44 +08:00
parent 54ead1734e
commit 432c4564be
+1 -2
View File
@@ -1062,10 +1062,9 @@ class actionModel extends model
if(isset($this->config->maxVersion)
and strpos($this->config->action->assetType, $action->objectType) !== false
and strpos($this->config->action->assetlibAction[$action->objectType], $action->action) !== false
and empty($action->project) and empty($action->product) and empty($action->execution))
{
if($action->objectType == 'doc')
if($action->objectType == 'doc' and strpos($this->config->action->docAction, $action->action) !== false)
{
$method = strpos($action->action, 'practice') ? 'practiceView' : 'componentView';
}