Skip to content

Commit

Permalink
Return redirect when punishing users (#3101)
Browse files Browse the repository at this point in the history
  • Loading branch information
supercrafter100 committed Oct 7, 2022
1 parent 2431312 commit 57f76be
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/Core/pages/panel/users_punishments.php
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,7 @@
}
}
}
Redirect::to(URL::build('/panel/users/punishments/', 'user=' . urlencode($query->id)));
} else {
$errors[] = $language->get('moderator', 'cant_punish_admin');
}
Expand Down

0 comments on commit 57f76be

Please sign in to comment.