fix(web/user): sex
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Baoshuo Ren 2022-10-20 21:51:46 +08:00
parent 24722a0633
commit 6277a0c8c3
Signed by: baoshuo
GPG Key ID: 00CB9680AB29F51A

View File

@ -76,8 +76,10 @@ function fTime($time, $gran = -1) {
<span class="fs-6 align-middle"
<?php if ($user['sex'] == 'M'): ?>
style="color: blue"><i class="bi bi-gender-male"></i>
<?php elseif ($user['sex' == 'F']): ?>
<?php elseif ($user['sex'] == 'F'): ?>
style="color: red"><i class="bi bi-gender-female"></i>
<?php else: ?>
>
<?php endif ?>
</span>
</h3>