mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-03-03 22:15:36 +01:00
Fixed error with mass creation, when elements on different level had the same name
Fixes issue #1104
This commit is contained in:
@@ -380,7 +380,7 @@ abstract class BaseAdminController extends AbstractController
|
||||
}
|
||||
$em->flush();
|
||||
|
||||
if (count($created_count) > 0) {
|
||||
if (count($results) > 0) {
|
||||
$this->addFlash('success', t('entity.mass_creation_flash', ['%COUNT%' => $created_count]));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user