* Adjust code.

This commit is contained in:
tianshujie98
2021-06-30 16:07:41 +08:00
parent 1cf38e09f1
commit 54ead1734e
+4 -1
View File
@@ -1060,7 +1060,10 @@ class actionModel extends model
continue;
}
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)
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')
{