Associate project BOM entries with correct project when cloning (#433)

This commit is contained in:
d-buchmann
2023-11-16 12:56:42 +01:00
committed by GitHub
parent 5cfccab671
commit 0fa03d8bb0

View File

@@ -186,7 +186,7 @@ class Project extends AbstractStructuralDBElement
//Set master attachment is needed
foreach ($bom_entries as $bom_entry) {
$clone = clone $bom_entry;
$this->bom_entries->add($clone);
$this->addBomEntry($clone);
}
}