Fix group rights edit buttons

This commit is contained in:
Igor Scheller 2024-03-10 12:06:19 +01:00 committed by xuwhite
parent aea88b3579
commit 0642bff804
1 changed files with 4 additions and 6 deletions

View File

@ -43,10 +43,9 @@ function admin_groups()
['action' => 'edit', 'id' => $group->id]
),
icon('pencil'),
'btn-sm',
'',
'',
__('form.edit'),
'btn-sm'
__('form.edit')
),
];
}
@ -122,10 +121,9 @@ function admin_groups()
. ' edited: ' . join(', ', $privilege_names)
);
throw_redirect(url('/admin-groups'));
} else {
return error('No Group found.', true);
}
break;
return error('No Group found.', true);
}
}
return $html;