Added preview for country flags while editing (#1448)

This commit is contained in:
Roman Kelesidis 2024-04-11 22:53:20 +07:00 committed by GitHub
commit a43152b421
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 16 additions and 1 deletions

View file

@ -437,6 +437,7 @@ foreach ($profile_fields as $field => $can_edit) {
$pr_data['user_from'] = $from;
$db_data['user_from'] = (string)$from;
}
$tp_data['COUNTRY_SELECTED'] = render_flag($pr_data['user_from']);
$tp_data['COUNTRY_SELECT'] = build_select('user_from', array_flip($lang['COUNTRIES']), $pr_data['user_from']);
break;