@@ -40,7 +40,7 @@ discard block |
||
40 | 40 | $potentialCountry = ''; |
41 | 41 | if ($includeGetVariable) { |
42 | 42 | $getVar = Config::inst()->get('CountryURLProvider', 'locale_get_parameter'); |
43 | - if(isset($_GET[$getVar])) { |
|
43 | + if (isset($_GET[$getVar])) { |
|
44 | 44 | $potentialCountry = $_GET[$getVar]; |
45 | 45 | } |
46 | 46 | } |
@@ -92,14 +92,14 @@ discard block |
||
92 | 92 | } |
93 | 93 | $parsedUrl['path'] = implode('/', $pathParts); |
94 | 94 | $newURL = |
95 | - $parsedUrl['scheme'] . |
|
96 | - '://' . |
|
95 | + $parsedUrl['scheme']. |
|
96 | + '://'. |
|
97 | 97 | Controller::join_links( |
98 | 98 | $parsedUrl['host'], |
99 | 99 | $parsedUrl['path'] |
100 | 100 | ); |
101 | 101 | if (isset($parsedUrl['query'])) { |
102 | - $newURL = $newURL . '?' . $parsedUrl['query']; |
|
102 | + $newURL = $newURL.'?'.$parsedUrl['query']; |
|
103 | 103 | } |
104 | 104 | } |
105 | 105 | if (trim($oldURL, '/') !== trim($newURL, '/')) { |