From 411d284d435634f0d73c5d066ca941d525e8b3fe Mon Sep 17 00:00:00 2001 From: tianshujie Date: Thu, 6 Jan 2022 14:19:05 +0800 Subject: [PATCH] * Fix bug #18095. --- module/action/model.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/module/action/model.php b/module/action/model.php index 91baecf7b9..9cb6b0ca03 100755 --- a/module/action/model.php +++ b/module/action/model.php @@ -1227,10 +1227,11 @@ class actionModel extends model if(!common::hasPriv($moduleName, $methodName) and !$isLoginOrLogout) return false; $action->objectLabel = $objectLabel; + $action->product = trim($action->product, ','); if(isset($this->config->maxVersion) and strpos($this->config->action->assetType, $action->objectType) !== false - and empty($action->project) and empty(trim($action->product, ',')) and empty($action->execution)) + and empty($action->project) and empty($action->product) and empty($action->execution)) { if($action->objectType == 'doc') {