New Setting: Account Countries Most Popular

This commit is contained in:
slawkens
2025-11-06 12:01:33 +01:00
parent 5861efdbe9
commit 946364f59d
2 changed files with 13 additions and 1 deletions

View File

@@ -367,7 +367,7 @@ if(!empty($errors))
if (setting('core.account_country')) {
$countries = array();
foreach (array('pl', 'se', 'br', 'us', 'gb') as $c)
foreach (setting('core.account_countries_most_popular') ?? [] as $c)
$countries[$c] = $config['countries'][$c];
$countries['--'] = '----------';