mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-03-03 05:55:16 +01:00
Associate project BOM entries with correct project when cloning (#433)
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user