mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 01:08:56 +00:00
Fix adding new groups from admin interface
This commit is contained in:
@@ -106,7 +106,7 @@ class GroupController extends BasePageController
|
||||
|
||||
switch ($action) {
|
||||
case 'submit':
|
||||
if ($request->input('id') === '') {
|
||||
if (empty($request->input('id'))) {
|
||||
// Add a new group.
|
||||
$request->merge(['name' => Group::isValidGroup($request->input('name'))]);
|
||||
if ($request->input('name') !== false) {
|
||||
|
||||
Reference in New Issue
Block a user