From c29d040b34cb98f52c2b323b2b1c6bc0d672d601 Mon Sep 17 00:00:00 2001 From: Frank Schubert Date: Fri, 4 Jul 2025 13:25:59 +0200 Subject: [PATCH] MassProdutChange: removed empty links check in commit --- application/Contract/Contract.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/Contract/Contract.php b/application/Contract/Contract.php index 48c552cfa..ac10bfe50 100644 --- a/application/Contract/Contract.php +++ b/application/Contract/Contract.php @@ -816,7 +816,7 @@ class Contract extends mfBaseModel { * */ public function commitProductchangeContract(\Contract $new_contract, $links = []) { - if(!count($links)) return true; + //if(!count($links)) return true; if($new_contract->owner_id==3476) return true; $this->startTransaction();