|
@@ -30,7 +30,7 @@ |
|
|
block discarded – undo |
|
30
|
30
|
|
|
31
|
31
|
if (isset($_COOKIE['country']) && $this->checkCountry($_COOKIE['country'])) { // First if the client has a preference |
|
32
|
32
|
$country_id = $_COOKIE['country']; |
|
33
|
|
- }else if ($this->checkCountry($clientLanguage)) { // Not a preference? Let's check its browser! |
|
|
33
|
+ } else if ($this->checkCountry($clientLanguage)) { // Not a preference? Let's check its browser! |
|
34
|
34
|
$country_id = $clientLanguage; |
|
35
|
35
|
} else { // Nevermind let's move to the french language |
|
36
|
36
|
$country_id = 'fr'; |
Please login to merge, or discard this patch.