mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-10-27 04:37:56 -05:00
This commit is contained in:
@@ -491,7 +491,7 @@ if (!$user) {
|
||||
|
||||
// Ladder
|
||||
|
||||
$ladderTourID = str_starts_with($user['userid'], 'lt11');
|
||||
$ladderTourID = str_starts_with($user['userid'], 'lt12');
|
||||
if ($user['userid'] === $curuser['userid'] && !$ladderTourID) {
|
||||
if ($users->csrfCheck() && @$_POST['resetLadder']) {
|
||||
$formatLadder = new NTBBLadder(@$_POST['resetLadder']);
|
||||
|
||||
Reference in New Issue
Block a user