diff --git a/web/app/controllers/problem_statistics.php b/web/app/controllers/problem_statistics.php index f1b5331..cc2a11a 100644 --- a/web/app/controllers/problem_statistics.php +++ b/web/app/controllers/problem_statistics.php @@ -7,9 +7,7 @@ become404Page(); } - if (!isset($_COOKIE['bootstrap4'])) { - $REQUIRE_LIB['bootstrap5'] = ''; - } + requireLib('bootstrap5'); $contest = validateUInt($_GET['contest_id']) ? queryContest($_GET['contest_id']) : null; if ($contest != null) { @@ -78,12 +76,9 @@ ?> -