Minor improvements (#1550)

* Minor improvements

* Update CHANGELOG.md

* Update register.php
This commit is contained in:
Roman Kelesidis 2024-07-21 00:12:31 +07:00 committed by GitHub
commit 6a4dd64874
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 5 additions and 2 deletions

View file

@ -273,6 +273,7 @@ foreach ($profile_fields as $field => $can_edit) {
$db_data['user_active'] = 0;
}
$db_data['user_email'] = $email;
$pr_data['user_email'] = $email;
}
}
$tp_data['USER_EMAIL'] = htmlCHR($email);

View file

@ -20,6 +20,8 @@ $page_cfg['use_tablesorter'] = true;
$page_cfg['include_bbcode_js'] = true;
$tracking_topics = get_tracks('topic');
$tracking_forums = get_tracks('forum');
$user_id = $userdata['user_id'];
if (isset($_GET[POST_USERS_URL])) {
if (get_username($_GET[POST_USERS_URL])) {