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 authored and Derkades committed Oct 9, 2022
1 parent da8c854 commit de7feb4
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 de7feb4

Please sign in to comment.