mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-12-26 21:09:31 +00:00
Removed unused variables.
This commit is contained in:
parent
3671c94844
commit
0fe83c7b3a
18 changed files with 14 additions and 29 deletions
|
|
@ -86,7 +86,7 @@ class PermissionsType extends AbstractType
|
|||
{
|
||||
$groups = $this->perm_structure['groups'];
|
||||
|
||||
foreach ($groups as $key => $group) {
|
||||
foreach (array_keys($groups) as $key) {
|
||||
$builder->add($key, PermissionGroupType::class, [
|
||||
'group_name' => $key,
|
||||
'mapped' => false,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue