mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-03-21 17:50:29 -05:00
This commit is contained in:
parent
d29ea48cd2
commit
f48bff05f4
|
|
@ -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']);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user