diff --git a/CHANGELOG.md b/CHANGELOG.md
index 29957eb38..d3f8310b9 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -11,7 +11,7 @@
- Improved app debug [\#1438](https://github.com/torrentpier/torrentpier/pull/1438) ([belomaxorka](https://github.com/belomaxorka))
- Demo mode: Allow registering torrents by default [\#1440](https://github.com/torrentpier/torrentpier/pull/1440) ([belomaxorka](https://github.com/belomaxorka))
- Code refactoring [\#1441](https://github.com/torrentpier/torrentpier/pull/1441) ([belomaxorka](https://github.com/belomaxorka))
-- Minor improvements [\#1435](https://github.com/torrentpier/torrentpier/pull/1435), [\#1443](https://github.com/torrentpier/torrentpier/pull/1443) ([belomaxorka](https://github.com/belomaxorka))
+- Minor improvements [\#1435](https://github.com/torrentpier/torrentpier/pull/1435), [\#1443](https://github.com/torrentpier/torrentpier/pull/1443), [\#1446](https://github.com/torrentpier/torrentpier/pull/1446) ([belomaxorka](https://github.com/belomaxorka))
- New Crowdin updates [\#1444](https://github.com/torrentpier/torrentpier/pull/1444)
## [v2.4.2](https://github.com/torrentpier/torrentpier/tree/v2.4.2) (2024-03-30)
diff --git a/library/ajax/edit_user_profile.php b/library/ajax/edit_user_profile.php
index 657ffc5d8..48b61e1a0 100644
--- a/library/ajax/edit_user_profile.php
+++ b/library/ajax/edit_user_profile.php
@@ -105,7 +105,6 @@ switch ($field) {
$this->response['new_value'] = $this->request['value'];
break;
- case 'user_from':
case 'user_occ':
case 'user_interests':
$value = htmlCHR($value);
diff --git a/library/includes/functions.php b/library/includes/functions.php
index bfb7aaf92..7c9441d86 100644
--- a/library/includes/functions.php
+++ b/library/includes/functions.php
@@ -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 (%s)', bb_date($row['user_time']), delta_time($row['user_time'])) : $lang['NOSELECT'];
$posts = '' . $row['user_posts'] ?: 0 . '';