Fixed static analysis issues

This commit is contained in:
Jan Böhmer 2023-03-17 00:11:01 +01:00
parent c1d1270d59
commit e97a149474
2 changed files with 1 additions and 2 deletions

View file

@ -169,7 +169,7 @@ class ProjectController extends AbstractController
//Clear existing BOM entries if requested
if ($form->get('clear_existing_bom')->getData()) {
$project->getBomEntries()->clear();
$entityManager->flush($project);
$entityManager->flush();
}
try {