Fix group rights edit buttons
This commit is contained in:
parent
aea88b3579
commit
0642bff804
|
@ -43,10 +43,9 @@ function admin_groups()
|
||||||
['action' => 'edit', 'id' => $group->id]
|
['action' => 'edit', 'id' => $group->id]
|
||||||
),
|
),
|
||||||
icon('pencil'),
|
icon('pencil'),
|
||||||
|
'btn-sm',
|
||||||
'',
|
'',
|
||||||
'',
|
__('form.edit')
|
||||||
__('form.edit'),
|
|
||||||
'btn-sm'
|
|
||||||
),
|
),
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
@ -122,10 +121,9 @@ function admin_groups()
|
||||||
. ' edited: ' . join(', ', $privilege_names)
|
. ' edited: ' . join(', ', $privilege_names)
|
||||||
);
|
);
|
||||||
throw_redirect(url('/admin-groups'));
|
throw_redirect(url('/admin-groups'));
|
||||||
} else {
|
|
||||||
return error('No Group found.', true);
|
|
||||||
}
|
}
|
||||||
break;
|
|
||||||
|
return error('No Group found.', true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return $html;
|
return $html;
|
||||||
|
|
Loading…
Reference in New Issue