From 04df5acf6bb9a5b9d39f7d927fc138a36333c141 Mon Sep 17 00:00:00 2001 From: wangyidong Date: Tue, 3 Jun 2025 13:28:41 +0800 Subject: [PATCH] * [refac story #74538] Fix bug. --- module/action/model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/action/model.php b/module/action/model.php index c428e75034..267cbe7e64 100755 --- a/module/action/model.php +++ b/module/action/model.php @@ -2423,7 +2423,7 @@ class actionModel extends model if(is_string($grantedProducts)) $grantedProducts = explode(',', $grantedProducts); $grantedProducts = array_unique(array_filter($grantedProducts)); - if($grantedProducts) $productCondition = " OR (execution = '0' AND project = '0' AND t2.product " . helper::dbIN($grantedExecutions) . ')'; + if($grantedProducts) $productCondition = " OR (execution = '0' AND project = '0' AND t2.product " . helper::dbIN($grantedProducts) . ')'; } else {