Fixed productchange error if linkcontract doesnt exist

This commit is contained in:
Frank Schubert
2024-08-20 14:55:48 +02:00
parent 4070fd2623
commit 058cedc3a3

View File

@@ -191,7 +191,7 @@
} else {
$linkcontract = $link->contract;
}
if(!$linkcontract->id) continue;
if($linkcontract->isCancelled()) continue;
?>