* Log only when the products are changed.

This commit is contained in:
liumengyi
2024-01-25 16:10:19 +08:00
parent af27dcdc9e
commit 4773b93574
+1 -1
View File
@@ -1786,7 +1786,7 @@ class projectModel extends model
/* Create actions. */
$this->loadModel('action');
if($products) $this->action->create('project', $projectID, 'managed', '', implode(',', $products));
if(!empty($needUpdate)) $this->action->create('project', $projectID, 'managed', '', implode(',', $products));
$unlinkedProducts = array_diff($oldProductIdList, $products);
if(!empty($unlinkedProducts))
{