Merge branch 'fronkdev' into 'master'

MassProdutChange: removed empty links check in commit

See merge request fronk/thetool!1516
This commit is contained in:
Frank Schubert
2025-07-04 11:27:14 +00:00
+1 -1
View File
@@ -816,7 +816,7 @@ class Contract extends mfBaseModel {
* *
*/ */
public function commitProductchangeContract(\Contract $new_contract, $links = []) { 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; if($new_contract->owner_id==3476) return true;
$this->startTransaction(); $this->startTransaction();