mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-01-25 19:49:34 +00:00
Associate project BOM entries with correct project when cloning
This commit is contained in:
parent
5cfccab671
commit
a3f2f00830
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue