From bc51ad2682b17bc22d508f65ca6ae6a874968077 Mon Sep 17 00:00:00 2001 From: liumengyi Date: Wed, 21 Feb 2024 15:58:18 +0800 Subject: [PATCH] - Don't create a extra action. --- module/project/zen.php | 1 - 1 file changed, 1 deletion(-) diff --git a/module/project/zen.php b/module/project/zen.php index c8119d41be..d3208e218e 100755 --- a/module/project/zen.php +++ b/module/project/zen.php @@ -1057,7 +1057,6 @@ class projectZen extends project $formerIds = array_keys($formerProducts); $currentIds = array_keys($currentProducts); $changes = array_merge(array_diff($formerIds, $currentIds), array_diff($currentIds, $formerIds)); - if($changes) $this->loadModel('action')->create('project', $projectID, 'Managed', '', !empty($this->post->products) ? implode(',', $this->post->products) : ''); $this->loadModel('execution');