fix: user_info admin card
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Baoshuo Ren 2022-10-05 18:53:51 +08:00
parent 7c0bdf3d8d
commit 1daf709df8
Signed by: baoshuo
GPG Key ID: 00CB9680AB29F51A

View File

@ -23,7 +23,7 @@
?> ?>
<?php echoUOJPageHeader($user['username'] . ' - ' . UOJLocale::get('user profile')) ?> <?php echoUOJPageHeader($user['username'] . ' - ' . UOJLocale::get('user profile')) ?>
<?php if (isset($REQUIRE_LIB['bootstrap5'])): ?> <?php if (isset($REQUIRE_LIB['bootstrap5'])): ?>
<?php uojIncludeView('user-info', array('user' => $user)) ?> <?php uojIncludeView('user-info', array('user' => $user, 'myUser' => $myUser)) ?>
<?php else: ?> <?php else: ?>
<?php <?php
$esc_sex = HTML::escape($user['sex']); $esc_sex = HTML::escape($user['sex']);