// Fix duplicat of countries on configure page in installer
This commit is contained in:
@@ -288,7 +288,8 @@ class InstallControllerHttpConfigure extends InstallControllerHttp
|
||||
$this->list_countries[] = array('name' => '-----------------');
|
||||
|
||||
foreach ($countries as $iso => $lang)
|
||||
$this->list_countries[] = array('iso' => $iso, 'name' => $lang);
|
||||
if (!in_array($iso, $top_countries))
|
||||
$this->list_countries[] = array('iso' => $iso, 'name' => $lang);
|
||||
|
||||
|
||||
// Install type
|
||||
|
||||
Reference in New Issue
Block a user