mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-09-01 10:48:53 +00:00
Fix bugs in redirects
This commit is contained in:
@@ -75,8 +75,7 @@ class RoleController extends BasePageController
|
||||
/*header('Location:'.WWW_TOP.'/role-list.php');*/
|
||||
} else {
|
||||
$role = UserRole::updateRole($request->all());
|
||||
//dd($role);
|
||||
header('Location:'.WWW_TOP.'/role-list.php');
|
||||
header('Location:'.WWW_TOP.'admin/role-list');
|
||||
|
||||
$request->merge(['exccat' => (! $request->has('exccat') || ! \is_array($request->input('exccat'))) ? [] : $request->input('exccat')]);
|
||||
RoleExcludedCategory::addRoleCategoryExclusions($request->input('id'), $request->input('exccat'));
|
||||
|
||||
Reference in New Issue
Block a user