// Fix duplicat of countries on configure page in installer

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@13581 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
rMalie
2012-02-24 09:05:10 +00:00
parent 69e2cf95d6
commit e445bcacfc
+2 -1
View File
@@ -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