mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 05:43:55 -07:00
Minor improvements (#1446)
* Minor improvements * Updated * Update edit_user_profile.php * Update CHANGELOG.md
This commit is contained in:
parent
edcdaad690
commit
71a372ed66
3 changed files with 2 additions and 3 deletions
|
@ -794,7 +794,7 @@ function generate_user_info($row, bool $have_auth = IS_ADMIN): array
|
|||
{
|
||||
global $userdata, $lang, $images, $bb_cfg;
|
||||
|
||||
$from = !empty($row['user_from']) ? $row['user_from'] : $lang['NOSELECT'];
|
||||
$from = !empty($row['user_from']) ? render_flag($row['user_from']) : $lang['NOSELECT'];
|
||||
$joined = bb_date($row['user_regdate'], 'Y-m-d H:i', false);
|
||||
$user_time = !empty($row['user_time']) ? sprintf('%s <span class="signature">(%s)</span>', bb_date($row['user_time']), delta_time($row['user_time'])) : $lang['NOSELECT'];
|
||||
$posts = '<a href="search.php?search_author=1&uid=' . $row['user_id'] . '" target="_blank">' . $row['user_posts'] ?: 0 . '</a>';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue