Minor improvements (#1315)

* Minor improvements

* Update functions.php

* Revert "Update functions.php"

This reverts commit 2a1c0c6ebe.

* Update functions.php

* Revert "Update functions.php"

This reverts commit b766af59ac.

* Update functions.php

* Update CHANGELOG.md
This commit is contained in:
Roman Kelesidis 2024-01-13 15:29:32 +07:00 committed by GitHub
commit ae616f3a74
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 10 additions and 10 deletions

View file

@ -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']) {