Update OLT ladder id
Some checks failed
Node.js CI / build (22.x) (push) Has been cancelled

This commit is contained in:
Marty-D 2025-07-27 08:27:41 -04:00 committed by GitHub
parent d29ea48cd2
commit f48bff05f4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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']);