mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-20 21:33:54 -07:00
Minor improvements (#1315)
* Minor improvements * Update functions.php * Revert "Update functions.php" This reverts commit2a1c0c6ebe
. * Update functions.php * Revert "Update functions.php" This reverts commitb766af59ac
. * Update functions.php * Update CHANGELOG.md
This commit is contained in:
parent
6759ce0595
commit
ae616f3a74
5 changed files with 10 additions and 10 deletions
|
@ -304,7 +304,7 @@ function auth($type, $forum_id, $ug_data, array $f_access = [], $group_perm = UG
|
|||
}
|
||||
|
||||
if (empty($f_access)) {
|
||||
trigger_error(__FUNCTION__ . '(): empty $f_access', E_USER_ERROR);
|
||||
return [];
|
||||
}
|
||||
|
||||
//
|
||||
|
@ -802,7 +802,7 @@ function generate_user_info($row, bool $have_auth = IS_ADMIN): array
|
|||
$email_uri = ($bb_cfg['board_email_form']) ? ("profile.php?mode=email&" . POST_USERS_URL . "=" . $row['user_id']) : 'mailto:' . $row['user_email'];
|
||||
$email = '<a class="editable" href="' . $email_uri . '">' . $row['user_email'] . '</a>';
|
||||
} else {
|
||||
$email = $lang['NOSELECT'];
|
||||
$email = $lang['HIDDEN_USER'];
|
||||
}
|
||||
|
||||
if ($row['user_website']) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue