| @@ -120,8 +120,7 @@ | ||
| 120 | 120 | $hasCountrySegment = CountryPrice_Translation::get_country_url_provider()->hasCountrySegment($url); | 
| 121 | 121 |              if($hasCountrySegment){ | 
| 122 | 122 | $url = CountryPrice_Translation::get_country_url_provider()->replaceCountryCodeInUrl($newCountryCode, $url); | 
| 123 | - } | |
| 124 | -            else { | |
| 123 | +            } else { | |
| 125 | 124 | $url = CountryPrice_Translation::get_country_url_provider()->addCountryCodeToUrl($newCountryCode, $url); | 
| 126 | 125 | } | 
| 127 | 126 | return $url.$query; | 
| @@ -101,8 +101,7 @@ | ||
| 101 | 101 | $hasCountrySegment = CountryPrice_Translation::get_country_url_provider()->hasCountrySegment($oldURL); | 
| 102 | 102 |          if($hasCountrySegment){ | 
| 103 | 103 | $newURL = CountryPrice_Translation::get_country_url_provider()->replaceCountryCodeInUrl($countryCode, $oldURL); | 
| 104 | - } | |
| 105 | -        else { | |
| 104 | +        } else { | |
| 106 | 105 | $newURL = CountryPrice_Translation::get_country_url_provider()->addCountryCodeToUrl($countryCode, $oldURL); | 
| 107 | 106 | } | 
| 108 | 107 |          if ($oldURL !== $newURL && self::$_redirection_count < 3) { |