Completed
Push — master ( efb352...721e90 )
by Nicolaas
02:47
created
code/api/CountryURLProvider.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -38,8 +38,9 @@
 block discarded – undo
38 38
     public function CurrentCountrySegment($url = '', $includeGetVariable = true)
39 39
     {
40 40
         $potentialCountry = '';
41
-        if ($includeGetVariable)
42
-            $getVar = Config::inst()->get('CountryURLProvider', 'locale_get_parameter');
41
+        if ($includeGetVariable) {
42
+                    $getVar = Config::inst()->get('CountryURLProvider', 'locale_get_parameter');
43
+        }
43 44
             if(isset($_GET[$getVar])) {
44 45
                 $potentialCountry = $_GET[$getVar];
45 46
             }
Please login to merge, or discard this patch.