mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-22 18:03:37 +02:00
Associate project BOM entries with correct project when cloning (#433)
This commit is contained in:
parent
5cfccab671
commit
0fa03d8bb0
1 changed files with 1 additions and 1 deletions
|
@ -186,7 +186,7 @@ class Project extends AbstractStructuralDBElement
|
||||||
//Set master attachment is needed
|
//Set master attachment is needed
|
||||||
foreach ($bom_entries as $bom_entry) {
|
foreach ($bom_entries as $bom_entry) {
|
||||||
$clone = clone $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