mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-01-11 04:39:33 +00:00
PartController -> new Methode Variablennamen korrigieren
This commit is contained in:
parent
02460801d9
commit
b227bacdb0
1 changed files with 1 additions and 1 deletions
|
|
@ -234,7 +234,7 @@ final class PartController extends AbstractController
|
|||
} elseif ($assembly instanceof Assembly) {
|
||||
//Initialize a new part for a build part from the given assembly
|
||||
//Ensure that the assembly has not already a build part
|
||||
if ($project->getBuildPart() instanceof Part) {
|
||||
if ($assembly->getBuildPart() instanceof Part) {
|
||||
$this->addFlash('error', 'part.new_build_part.error.build_part_already_exists');
|
||||
return $this->redirectToRoute('part_edit', ['id' => $project->getBuildPart()->getID()]);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue