fix(web/contest/problem/statistics): simplify problem title
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Baoshuo Ren 2022-12-04 11:23:03 +08:00
parent 4959e6da45
commit 61a35c457a
Signed by: baoshuo
GPG Key ID: 00CB9680AB29F51A

View File

@ -108,7 +108,7 @@ $submissions_sort_by_choice = !isset($_COOKIE['submissions-sort-by-code-length']
<h1 class="text-center"> <h1 class="text-center">
<?php if (UOJContest::cur()) : ?> <?php if (UOJContest::cur()) : ?>
<?= UOJProblem::cur()->getTitle(['with' => 'letter']) ?> <?= UOJProblem::cur()->getTitle(['with' => 'letter', 'simplify' => true]) ?>
<?php else : ?> <?php else : ?>
<?= UOJProblem::cur()->getTitle(['with' => 'id']) ?> <?= UOJProblem::cur()->getTitle(['with' => 'id']) ?>
<?php endif ?> <?php endif ?>